mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-02 06:34:44 +03:00
Constify Transaction on variable resolution
This commit is contained in:
committed by
Felipe Zimmerle
parent
7afcd3046d
commit
1f80055f63
@@ -34,8 +34,8 @@ class TimeYear : public Variable {
|
||||
: Variable(_name),
|
||||
m_retName("TIME_YEAR") { }
|
||||
|
||||
void evaluate(Transaction *transaction,
|
||||
VariableValues *l) override;
|
||||
void evaluate(const Transaction *transaction,
|
||||
VariableValues *l) const noexcept override;
|
||||
std::string m_retName;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user