Code cosmetics

This commit is contained in:
Felipe Zimmerle
2015-11-18 12:59:08 -03:00
parent 3c45a57130
commit de79848285
11 changed files with 37 additions and 32 deletions

View File

@@ -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() {}
};

View File

@@ -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() {}
};

View File

@@ -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() {}
};