mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
RE: make the RE_Matcher destructor non-virtual
Nobody overrides it.
This commit is contained in:
parent
8a74ebf2a9
commit
cceb8a1b0c
1 changed files with 2 additions and 2 deletions
4
src/RE.h
4
src/RE.h
|
@ -174,12 +174,12 @@ protected:
|
||||||
int current_pos;
|
int current_pos;
|
||||||
};
|
};
|
||||||
|
|
||||||
class RE_Matcher {
|
class RE_Matcher final {
|
||||||
public:
|
public:
|
||||||
RE_Matcher();
|
RE_Matcher();
|
||||||
explicit RE_Matcher(const char* pat);
|
explicit RE_Matcher(const char* pat);
|
||||||
RE_Matcher(const char* exact_pat, const char* anywhere_pat);
|
RE_Matcher(const char* exact_pat, const char* anywhere_pat);
|
||||||
virtual ~RE_Matcher();
|
~RE_Matcher();
|
||||||
|
|
||||||
void AddPat(const char* pat);
|
void AddPat(const char* pat);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue