Fix a set of compilation warnings

This commit is contained in:
Felipe Zimmerle 2018-03-01 11:36:31 -03:00
parent c8666fae31
commit 450c966da0
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277
3 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
v3.0.x - YYYY-MMM-DD (To be released)
-------------------------------------
- Fix a set of compilation warnings
[Issue #1650 - @zimmerle, @JayCase]
- Check for disruptive action on SecDefaultAction.
[Issue #1614 - @zimmerle, @michaelgranzow-avi]
- Fix block-block infinite loop.

View File

@ -50,7 +50,7 @@ class Rule {
std::string fileName,
int lineNumber);
explicit Rule(std::string marker);
~Rule();
virtual ~Rule();
virtual bool evaluate(Transaction *transaction,
std::shared_ptr<RuleMessage> rm);

View File

@ -60,7 +60,7 @@ class Rx : public Operator {
const std::string& input,
std::shared_ptr<RuleMessage> ruleMessage) override;
bool init(const std::string &arg, std::string *error);
bool init(const std::string &arg, std::string *error) override;
private:
Regex *m_re;