Refactoring: Splits Rule into Rule and RuleWithActions

This commit is contained in:
Felipe Zimmerle
2019-02-19 10:15:01 -03:00
parent 43f8aee6b6
commit 8eb7b8fe6c
93 changed files with 360 additions and 382 deletions

View File

@@ -54,7 +54,7 @@ bool InitCol::init(std::string *error) {
}
bool InitCol::evaluate(Rule *rule, Transaction *t) {
bool InitCol::evaluate(RuleWithActions *rule, Transaction *t) {
std::string collectionName(m_string->evaluate(t));
if (m_collection_key == "ip") {