Regex: small code cleanup

This commit is contained in:
Maxime Coste 2017-10-09 21:56:48 +08:00
parent 23b3a221eb
commit dd9e43e6f9

View File

@ -9,8 +9,6 @@
#include "utf8_iterator.hh"
#include "vector.hh"
#include <string.h>
namespace Kakoune
{
@ -108,9 +106,9 @@ class ThreadedRegexVM
public:
ThreadedRegexVM(const CompiledRegex& 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& operator=(const ThreadedRegexVM&) = delete;