File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ class RulesExceptions {
5151 bool addRange (int a, int b);
5252 bool addNumber (int a);
5353 bool contains (int a);
54- bool merge (RulesExceptions *from);
54+ bool merge (const RulesExceptions *from);
5555
5656 bool loadRemoveRuleByMsg (const std::string &msg, const std::string *error);
5757 bool loadRemoveRuleByTag (const std::string &msg, const std::string *error);
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ bool RulesExceptions::contains(int a) {
205205}
206206
207207
208- bool RulesExceptions::merge (RulesExceptions *from) {
208+ bool RulesExceptions::merge (const RulesExceptions *from) {
209209 for (int a : from->m_numbers ) {
210210 bool ret = addNumber (a);
211211 if (ret == false ) {
You can’t perform that action at this time.
0 commit comments