Cosmetics: address cppcheck warnings on src/actions

This commit is contained in:
Felipe Zimmerle
2020-01-22 10:37:24 -03:00
parent a6620604d4
commit 9101a8ab15
96 changed files with 99 additions and 97 deletions

View File

@@ -33,7 +33,7 @@ namespace actions {
class Block : public Action {
public:
explicit Block(std::string action) : Action(action) { }
explicit Block(const std::string &action) : Action(action) { }
bool evaluate(Rule *rule, Transaction *transaction,
std::shared_ptr<RuleMessage> rm) override;