mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-18 10:20:35 +03:00
Cosmetics: address cppcheck warnings
This commit is contained in:
@@ -36,7 +36,7 @@ namespace collection {
|
||||
namespace backend {
|
||||
|
||||
|
||||
InMemoryPerProcess::InMemoryPerProcess(std::string name) :
|
||||
InMemoryPerProcess::InMemoryPerProcess(const std::string &name) :
|
||||
Collection(name) {
|
||||
this->reserve(1000);
|
||||
pthread_mutex_init(&m_lock, NULL);
|
||||
|
||||
@@ -72,7 +72,7 @@ class InMemoryPerProcess :
|
||||
/*std::hash<std::string>*/MyHash, MyEqual>,
|
||||
public Collection {
|
||||
public:
|
||||
explicit InMemoryPerProcess(std::string name);
|
||||
explicit InMemoryPerProcess(const std::string &name);
|
||||
~InMemoryPerProcess();
|
||||
void store(std::string key, std::string value) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user