mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Remove superfluous RuleCondition destructors
This commit is contained in:
parent
b73cc816e9
commit
cbe47650d1
1 changed files with 0 additions and 9 deletions
|
@ -35,8 +35,6 @@ public:
|
|||
explicit RuleConditionTCPState(int arg_tcpstates)
|
||||
{ tcpstates = arg_tcpstates; }
|
||||
|
||||
~RuleConditionTCPState() override { }
|
||||
|
||||
bool DoMatch(Rule* rule, RuleEndpointState* state,
|
||||
const u_char* data, int len) override;
|
||||
|
||||
|
@ -73,9 +71,6 @@ public:
|
|||
|
||||
explicit RuleConditionIPOptions(int arg_options) { options = arg_options; }
|
||||
|
||||
~RuleConditionIPOptions() override
|
||||
{ }
|
||||
|
||||
bool DoMatch(Rule* rule, RuleEndpointState* state,
|
||||
const u_char* data, int len) override;
|
||||
|
||||
|
@ -89,7 +84,6 @@ private:
|
|||
class RuleConditionSameIP : public RuleCondition {
|
||||
public:
|
||||
RuleConditionSameIP() { }
|
||||
~RuleConditionSameIP() override {}
|
||||
|
||||
bool DoMatch(Rule* rule, RuleEndpointState* state,
|
||||
const u_char* data, int len) override;
|
||||
|
@ -105,8 +99,6 @@ public:
|
|||
RuleConditionPayloadSize(uint32_t arg_val, Comp arg_comp)
|
||||
{ val = arg_val; comp = arg_comp; }
|
||||
|
||||
~RuleConditionPayloadSize() override {}
|
||||
|
||||
bool DoMatch(Rule* rule, RuleEndpointState* state,
|
||||
const u_char* data, int len) override;
|
||||
|
||||
|
@ -121,7 +113,6 @@ private:
|
|||
class RuleConditionEval : public RuleCondition {
|
||||
public:
|
||||
explicit RuleConditionEval(const char* func);
|
||||
~RuleConditionEval() override {}
|
||||
|
||||
bool DoMatch(Rule* rule, RuleEndpointState* state,
|
||||
const u_char* data, int len) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue