Regex: small code cleanup
This commit is contained in:
parent
23b3a221eb
commit
dd9e43e6f9
|
@ -9,8 +9,6 @@
|
||||||
#include "utf8_iterator.hh"
|
#include "utf8_iterator.hh"
|
||||||
#include "vector.hh"
|
#include "vector.hh"
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
namespace Kakoune
|
namespace Kakoune
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -108,9 +106,9 @@ class ThreadedRegexVM
|
||||||
public:
|
public:
|
||||||
ThreadedRegexVM(const CompiledRegex& program)
|
ThreadedRegexVM(const CompiledRegex& program)
|
||||||
: m_program{program}
|
: m_program{program}
|
||||||
{
|
{
|
||||||
kak_assert(m_program and direction == m_program.direction);
|
kak_assert(m_program and direction == m_program.direction);
|
||||||
}
|
}
|
||||||
|
|
||||||
ThreadedRegexVM(const ThreadedRegexVM&) = delete;
|
ThreadedRegexVM(const ThreadedRegexVM&) = delete;
|
||||||
ThreadedRegexVM& operator=(const ThreadedRegexVM&) = delete;
|
ThreadedRegexVM& operator=(const ThreadedRegexVM&) = delete;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user