mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-02 04:27:47 +03:00
cosmetics: Having the parser in a better shape regarding operators 1/2
This commit is contained in:
committed by
Felipe Zimmerle
parent
3a413080f9
commit
9cda4c0be0
@@ -22,7 +22,6 @@
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "src/operators/operator.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace modsecurity {
|
||||
namespace operators {
|
||||
|
||||
@@ -31,13 +30,14 @@ class UnconditionalMatch : public Operator {
|
||||
/** @ingroup ModSecurity_Operator */
|
||||
UnconditionalMatch(std::string op, std::string param, bool negation)
|
||||
: Operator(op, param, negation) { }
|
||||
UnconditionalMatch()
|
||||
: Operator("UnconditionalMatch") { }
|
||||
|
||||
bool evaluate(Transaction *transaction, const std::string &exp) override;
|
||||
};
|
||||
|
||||
} // namespace operators
|
||||
} // namespace modsecurity
|
||||
#endif
|
||||
|
||||
|
||||
#endif // SRC_OPERATORS_UNCONDITIONAL_MATCH_H_
|
||||
|
Reference in New Issue
Block a user