mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-19 18:54:23 +03:00
Code cosmetics
This commit is contained in:
@@ -30,7 +30,8 @@ namespace actions {
|
||||
namespace transformations {
|
||||
|
||||
|
||||
class HtmlEntityDecodeInstantCache : public std::unordered_map<std::string, std::string> {
|
||||
class HtmlEntityDecodeInstantCache :
|
||||
public std::unordered_map<std::string, std::string> {
|
||||
public:
|
||||
static HtmlEntityDecodeInstantCache& getInstance() {
|
||||
static HtmlEntityDecodeInstantCache instance;
|
||||
@@ -44,7 +45,7 @@ class HtmlEntityDecodeInstantCache : public std::unordered_map<std::string, std:
|
||||
}
|
||||
}
|
||||
private:
|
||||
HtmlEntityDecodeInstantCache() {};
|
||||
HtmlEntityDecodeInstantCache() {}
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -29,7 +29,8 @@ class Assay;
|
||||
namespace actions {
|
||||
namespace transformations {
|
||||
|
||||
class LowerCaseInstantCache : public std::unordered_map<std::string, std::string> {
|
||||
class LowerCaseInstantCache :
|
||||
public std::unordered_map<std::string, std::string> {
|
||||
public:
|
||||
static LowerCaseInstantCache& getInstance() {
|
||||
static LowerCaseInstantCache instance;
|
||||
@@ -43,7 +44,7 @@ class LowerCaseInstantCache : public std::unordered_map<std::string, std::string
|
||||
}
|
||||
}
|
||||
private:
|
||||
LowerCaseInstantCache() {};
|
||||
LowerCaseInstantCache() {}
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -29,7 +29,8 @@ class Assay;
|
||||
namespace actions {
|
||||
namespace transformations {
|
||||
|
||||
class UrlDecodeInstantCache : public std::unordered_map<std::string, std::string> {
|
||||
class UrlDecodeInstantCache :
|
||||
public std::unordered_map<std::string, std::string> {
|
||||
public:
|
||||
static UrlDecodeInstantCache& getInstance() {
|
||||
static UrlDecodeInstantCache instance;
|
||||
@@ -43,7 +44,7 @@ class UrlDecodeInstantCache : public std::unordered_map<std::string, std::string
|
||||
}
|
||||
}
|
||||
private:
|
||||
UrlDecodeInstantCache() {};
|
||||
UrlDecodeInstantCache() {}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user