mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 17:41:52 +03:00
Cosmetics: fix some cppcheck complains
This commit is contained in:
@@ -58,6 +58,12 @@ class RuleScript : public RuleWithActions {
|
||||
m_name(rs.m_name),
|
||||
m_lua(rs.m_lua) { }
|
||||
|
||||
RuleScript &operator=(const RuleScript& r) {
|
||||
RuleWithActions::operator = (r);
|
||||
m_name = r.m_name;
|
||||
m_lua = r.m_lua;
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool init(std::string *err);
|
||||
bool evaluate(Transaction *trans) override;
|
||||
|
||||
Reference in New Issue
Block a user