mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Cosmetics: address cppcheck warnings
This commit is contained in:
@@ -44,7 +44,7 @@ namespace collection {
|
||||
|
||||
class Collection {
|
||||
public:
|
||||
explicit Collection(std::string a) : m_name(a) { }
|
||||
explicit Collection(const std::string &a) : m_name(a) { }
|
||||
virtual ~Collection() { }
|
||||
virtual void store(std::string key, std::string value) = 0;
|
||||
|
||||
|
@@ -49,6 +49,9 @@ class Collections {
|
||||
Collection *user, Collection *resource);
|
||||
~Collections();
|
||||
|
||||
Collections(const Collections &c) = delete;
|
||||
Collections& operator =(const Collections &c) = delete;
|
||||
|
||||
std::string m_global_collection_key;
|
||||
std::string m_ip_collection_key;
|
||||
std::string m_session_collection_key;
|
||||
|
Reference in New Issue
Block a user