mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 01:22:18 +03:00
Cosmetics: Using VariableValues instead of std::vector<...>
Making the code more readable.
This commit is contained in:
@@ -34,10 +34,14 @@ typedef struct Variable_t VariableValue;
|
||||
#ifdef __cplusplus
|
||||
namespace modsecurity {
|
||||
|
||||
class VariableValue;
|
||||
using VariableValues = std::vector<std::shared_ptr<const VariableValue>>;
|
||||
using Origins = std::vector<VariableOrigin>;
|
||||
|
||||
|
||||
class Collection;
|
||||
class VariableValue {
|
||||
public:
|
||||
using Origins = std::vector<VariableOrigin>;
|
||||
|
||||
explicit VariableValue(const std::string *key,
|
||||
const std::string *value = nullptr)
|
||||
|
||||
Reference in New Issue
Block a user