Make function argument const pointer

This commit is contained in:
Ervin Hegedus
2025-03-12 22:26:29 +01:00
parent c3c2c6f280
commit 42280d213d
2 changed files with 4 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ bool RulesExceptions::loadUpdateActionById(double id,
bool RulesExceptions::loadRemoveRuleByMsg(const std::string &msg,
std::string *error) {
const std::string *error) {
m_remove_rule_by_msg.push_back(msg);
return true;
@@ -66,7 +66,7 @@ bool RulesExceptions::loadRemoveRuleByMsg(const std::string &msg,
bool RulesExceptions::loadRemoveRuleByTag(const std::string &msg,
std::string *error) {
const std::string *error) {
m_remove_rule_by_tag.push_back(msg);
return true;