mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
Merge pull request #255 from isildur-g/wip-isildur-g
addressing some cppcheck warnings.
This commit is contained in:
@@ -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<unsigned int, ParsedExpr> ExprExtMap;
|
||||
|
Reference in New Issue
Block a user