mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
fixed some const issues
This commit is contained in:
parent
8dabc86a69
commit
91d9631c97
@ -97,12 +97,12 @@ unsigned int countFailures = 0;
|
|||||||
|
|
||||||
class ParsedExpr {
|
class ParsedExpr {
|
||||||
public:
|
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) {}
|
: regex(regex_in), flags(flags_in), ext(ext_in) {}
|
||||||
~ParsedExpr() {}
|
~ParsedExpr() {}
|
||||||
string regex;
|
string regex;
|
||||||
unsigned int flags;
|
unsigned int flags;
|
||||||
hs_expr_ext ext;
|
const hs_expr_ext& ext;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef map<unsigned int, ParsedExpr> ExprExtMap;
|
typedef map<unsigned int, ParsedExpr> ExprExtMap;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user