]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
ome of the consts couldnt be propagated and had to be reverted
authorG.E <gregory.economou@vectorcamp.gr>
Mon, 29 Apr 2024 09:39:28 +0000 (12:39 +0300)
committerG.E <gregory.economou@vectorcamp.gr>
Mon, 29 Apr 2024 09:39:28 +0000 (12:39 +0300)
src/nfa/goughcompile.cpp
src/nfa/limex_runtime_impl.h

index d703a32cb0cefca0d16ac8ffa6d99ec843c08432..59ef052fe8a2bba47f898e8f7c005915ec55e090 100644 (file)
@@ -659,7 +659,7 @@ GoughSSAVar *GoughSSAVarJoin::get_input(const GoughEdge &prev) const {
 }
 
 const flat_set<GoughEdge> &GoughSSAVarJoin::get_edges_for_input(
-                                                 const GoughSSAVar *input) const {
+                                                 GoughSSAVar *input) const {
     return input_map.at(input);
 }
 
index b282ae1843fcd029ebdcb85f162b687df49c0763..7b89182bea6d89abe11a91a67d4f9370589b47d8 100644 (file)
@@ -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;