From: G.E Date: Tue, 23 Apr 2024 21:04:59 +0000 (+0300) Subject: fixed some const issues X-Git-Tag: vectorscan/5.4.12^2~62^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91d9631c973a108846a930e634580b4d66bb7947;p=thirdparty%2Fvectorscan.git fixed some const issues --- diff --git a/tools/hscheck/main.cpp b/tools/hscheck/main.cpp index 2c73baf5..87bedf75 100644 --- a/tools/hscheck/main.cpp +++ b/tools/hscheck/main.cpp @@ -97,12 +97,12 @@ unsigned int countFailures = 0; class ParsedExpr { public: - ParsedExpr(string regex_in, unsigned int flags_in, hs_expr_ext& ext_in) + ParsedExpr(string regex_in, unsigned int flags_in, const hs_expr_ext& ext_in) : regex(regex_in), flags(flags_in), ext(ext_in) {} ~ParsedExpr() {} string regex; unsigned int flags; - hs_expr_ext ext; + const hs_expr_ext& ext; }; typedef map ExprExtMap;