File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ class RulesExceptions {
53
53
bool contains (int a);
54
54
bool merge (RulesExceptions *from);
55
55
56
- bool loadRemoveRuleByMsg (const std::string &msg, std::string *error);
57
- bool loadRemoveRuleByTag (const std::string &msg, std::string *error);
56
+ bool loadRemoveRuleByMsg (const std::string &msg, const std::string *error);
57
+ bool loadRemoveRuleByTag (const std::string &msg, const std::string *error);
58
58
59
59
bool loadUpdateTargetByMsg (const std::string &msg,
60
60
std::unique_ptr<std::vector<std::unique_ptr<variables::Variable> > > v,
Original file line number Diff line number Diff line change @@ -58,15 +58,15 @@ bool RulesExceptions::loadUpdateActionById(double id,
58
58
59
59
60
60
bool RulesExceptions::loadRemoveRuleByMsg (const std::string &msg,
61
- std::string *error) {
61
+ const std::string *error) {
62
62
m_remove_rule_by_msg.push_back (msg);
63
63
64
64
return true ;
65
65
}
66
66
67
67
68
68
bool RulesExceptions::loadRemoveRuleByTag (const std::string &msg,
69
- std::string *error) {
69
+ const std::string *error) {
70
70
m_remove_rule_by_tag.push_back (msg);
71
71
72
72
return true ;
You can’t perform that action at this time.
0 commit comments