Refactoring: renames Rule to RuleWithOperator

This commit is contained in:
Felipe Zimmerle
2019-02-19 11:08:47 -03:00
parent 8eb7b8fe6c
commit 59d4268882
100 changed files with 657 additions and 655 deletions

View File

@@ -42,14 +42,14 @@ namespace modsecurity {
using actions::Action;
/** @ingroup ModSecurity_CPP_API */
class RuleScript : public Rule {
class RuleScript : public RuleWithOperator {
public:
RuleScript(const std::string &name,
std::vector<Action *> *actions,
Transformations *t,
std::unique_ptr<std::string> fileName,
int lineNumber)
: Rule(NULL, NULL, actions, t, std::move(fileName), lineNumber),
: RuleWithOperator(NULL, NULL, actions, t, std::move(fileName), lineNumber),
m_name(name) { }
bool init(std::string *err);