mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-01 06:09:03 +03:00
Constify Transaction on variable resolution
This commit is contained in:
@@ -42,7 +42,7 @@ void RunTimeString::append(std::unique_ptr<Variable> var) {
|
||||
}
|
||||
|
||||
|
||||
std::string RunTimeString::evaluate(/* const */ Transaction *transaction) const noexcept {
|
||||
std::string RunTimeString::evaluate(const Transaction *transaction) const noexcept {
|
||||
std::string retString;
|
||||
// FIXME: Educated guess the size of retString based on the size of the elements.
|
||||
for (auto &element : m_elements) {
|
||||
|
||||
Reference in New Issue
Block a user