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 e0703a4774
commit 35a341e473
23 changed files with 191 additions and 210 deletions

View File

@@ -70,7 +70,7 @@ class RuleWithOperator : public RuleWithActions {
std::string getOperatorName() const;
virtual std::string getReference() override {
return std::to_string(m_ruleId);
return std::to_string(getId());
}
private: