mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-19 02:40:35 +03:00
Cosmetics: Using VariableValues instead of std::vector<...>
Making the code more readable.
This commit is contained in:
@@ -124,7 +124,7 @@ class RunTimeString {
|
||||
|
||||
void appendValueTo(/* const */ Transaction *transaction, std::string &v) const noexcept {
|
||||
if (m_variable && transaction) {
|
||||
std::vector<std::shared_ptr<const VariableValue>> l;
|
||||
VariableValues l;
|
||||
m_variable->evaluate(transaction, &l);
|
||||
if (!l.empty()) {
|
||||
v.append(l[0]->getValue());
|
||||
|
||||
Reference in New Issue
Block a user