mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-02 14:44:45 +03:00
Cosmetics: Using VariableValues instead of std::vector<...>
Making the code more readable.
This commit is contained in:
committed by
Felipe Zimmerle
parent
d5cae10d3a
commit
64bffdebc4
@@ -36,7 +36,7 @@ class WebAppId : public Variable {
|
||||
: Variable("WEBAPPID") { }
|
||||
|
||||
void evaluate(Transaction *transaction,
|
||||
std::vector<std::shared_ptr<const VariableValue>> *l) override {
|
||||
VariableValues *l) override {
|
||||
const std::string rname = transaction->m_rules->m_secWebAppId.m_value;
|
||||
l->push_back(std::make_shared<VariableValue>(getVariableKeyWithCollection().get(), &rname));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user