From f463357a380ee0b5d9177d92561162a2b95b8686 Mon Sep 17 00:00:00 2001 From: "G.E" Date: Mon, 29 Apr 2024 12:39:28 +0300 Subject: [PATCH] ome of the consts couldnt be propagated and had to be reverted --- src/nfa/goughcompile.cpp | 2 +- src/nfa/limex_runtime_impl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nfa/goughcompile.cpp b/src/nfa/goughcompile.cpp index d703a32c..59ef052f 100644 --- a/src/nfa/goughcompile.cpp +++ b/src/nfa/goughcompile.cpp @@ -659,7 +659,7 @@ GoughSSAVar *GoughSSAVarJoin::get_input(const GoughEdge &prev) const { } const flat_set &GoughSSAVarJoin::get_edges_for_input( - const GoughSSAVar *input) const { + GoughSSAVar *input) const { return input_map.at(input); } diff --git a/src/nfa/limex_runtime_impl.h b/src/nfa/limex_runtime_impl.h index b282ae18..7b89182b 100644 --- a/src/nfa/limex_runtime_impl.h +++ b/src/nfa/limex_runtime_impl.h @@ -927,7 +927,7 @@ char JOIN(LIMEX_API_ROOT, _testEOD)(const struct NFA *n, const char *state, context); } -char JOIN(LIMEX_API_ROOT, _reportCurrent)(const struct NFA *n, const struct mq *q) { +char JOIN(LIMEX_API_ROOT, _reportCurrent)(const struct NFA *n, struct mq *q) { const IMPL_NFA_T *limex = getImplNfa(n); REPORTCURRENT_FN(limex, q); return 1;