From 87eec79d07454352a8e063cb825c2817eb0a0db4 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 15 Oct 2017 09:34:49 +0800 Subject: Regex: comment the mutables in CompiledRegex::Instruction and fix their init --- src/regex_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/regex_impl.cc') 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; } -- cgit v1.2.3