Makes RuleWithActions const in run time operations

This commit is contained in:
Felipe Zimmerle
2019-05-08 11:08:24 -03:00
committed by Felipe Zimmerle
parent 0a3b658969
commit 28c3cb3176
90 changed files with 120 additions and 120 deletions

View File

@@ -113,8 +113,8 @@ class RuleMessage {
static std::string _details(const RuleMessage *rm);
static std::string _errorLogTail(const RuleMessage *rm);
RuleWithActions *getRule() const;
void setRule(RuleWithActions *rule);
const RuleWithActions *getRule() const;
void setRule(const RuleWithActions *rule);
bool isSettle() const;
int getRuleId() const;
int getPhase() const;
@@ -144,7 +144,7 @@ class RuleMessage {
private:
Transaction *m_transaction;
RuleWithActions *m_rule;
const RuleWithActions *m_rule;
};