Refactoring in the Rule class to make it more elegant

This commit is contained in:
Felipe Zimmerle
2019-02-25 20:22:38 -03:00
parent 4669387d1f
commit 9c0d5d104d
26 changed files with 199 additions and 219 deletions

View File

@@ -35,6 +35,9 @@ class Block : public Action {
public:
explicit Block(const std::string &action) : Action(action) { }
Block(const Block &a) = delete;
Block &operator=(const Block &a) = delete;
bool evaluate(RuleWithActions *rule, Transaction *transaction,
RuleMessage &rm) override;
};