From 91d9631c973a108846a930e634580b4d66bb7947 Mon Sep 17 00:00:00 2001 From: "G.E" Date: Wed, 24 Apr 2024 00:04:59 +0300 Subject: [PATCH] fixed some const issues --- tools/hscheck/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;