mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-17 01:51:52 +03:00
Cosmetics: address cppcheck warnings on src/actions
This commit is contained in:
@@ -31,7 +31,7 @@ namespace disruptive {
|
||||
|
||||
class Drop : public Action {
|
||||
public:
|
||||
explicit Drop(std::string action) : Action(action) { }
|
||||
explicit Drop(const std::string &action) : Action(action) { }
|
||||
|
||||
bool evaluate(Rule *rule, Transaction *transaction,
|
||||
std::shared_ptr<RuleMessage> rm) override;
|
||||
|
||||
Reference in New Issue
Block a user