Fix the init method signature in some operators

This commit is contained in:
Felipe Zimmerle
2015-10-20 13:23:08 -03:00
parent 4a5e6b3e57
commit 90c74beca1
6 changed files with 9 additions and 8 deletions

View File

@@ -31,9 +31,9 @@ class IpMatch : public Operator {
IpMatch(std::string op, std::string param, bool negation)
: Operator(op, param, negation) { }
bool evaluate(Assay *assay, const std::string &input);
bool evaluate(Assay *assay, const std::string &input) override;
virtual bool init(const char **error);
virtual bool init(const std::string &file, const char **error) override;
protected:
Utils::IpTree m_tree;