From dd9e43e6f9d9f332611ee0d4a37378842496e03a Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 9 Oct 2017 21:56:48 +0800 Subject: [PATCH] Regex: small code cleanup --- src/regex_impl.hh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/regex_impl.hh b/src/regex_impl.hh index e4804433..2d8da322 100644 --- a/src/regex_impl.hh +++ b/src/regex_impl.hh @@ -9,8 +9,6 @@ #include "utf8_iterator.hh" #include "vector.hh" -#include - 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;