Constify Transaction on variable resolution

This commit is contained in:
Felipe Zimmerle
2020-09-18 11:41:55 -03:00
committed by Felipe Zimmerle
parent 7afcd3046d
commit 1f80055f63
55 changed files with 242 additions and 250 deletions

View File

@@ -33,8 +33,8 @@
namespace modsecurity {
namespace variables {
void Time::evaluate(Transaction *transaction,
VariableValues *l) {
void Time::evaluate(const Transaction *transaction,
VariableValues *l) const noexcept {
char tstr[200];
struct tm timeinfo;