summaryrefslogtreecommitdiff
path: root/src/regex_impl.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-10-15 09:34:49 +0800
committerMaxime Coste <mawww@kakoune.org>2017-11-01 14:05:14 +0800
commit87eec79d07454352a8e063cb825c2817eb0a0db4 (patch)
treeda420263434a63286d91eeca1165db8acb358c2c /src/regex_impl.cc
parent8b2297f5cafcd413fdf7fbd774c464496717008d (diff)
Regex: comment the mutables in CompiledRegex::Instruction and fix their init
Diffstat (limited to 'src/regex_impl.cc')
-rw-r--r--src/regex_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex_impl.cc b/src/regex_impl.cc
index 57300a51..f99fe5e0 100644
--- a/src/regex_impl.cc
+++ b/src/regex_impl.cc
@@ -757,7 +757,7 @@ private:
uint32_t push_inst(CompiledRegex::Op op, uint32_t param = 0)
{
uint32_t res = m_program.instructions.size();
- m_program.instructions.push_back({ op, false, false, param });
+ m_program.instructions.push_back({ op, false, 0, param });
return res;
}