From: G.E Date: Mon, 29 Apr 2024 09:39:28 +0000 (+0300) Subject: ome of the consts couldnt be propagated and had to be reverted X-Git-Tag: vectorscan/5.4.12^2~59^2~1 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=f463357a380ee0b5d9177d92561162a2b95b8686;p=thirdparty%2Fvectorscan.git ome of the consts couldnt be propagated and had to be reverted --- 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;