summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/ConfigFile.h12
-rw-r--r--include/SQL.h10
2 files changed, 3 insertions, 19 deletions
diff --git a/include/ConfigFile.h b/include/ConfigFile.h
index 8a7c34d..11434bd 100644
--- a/include/ConfigFile.h
+++ b/include/ConfigFile.h
@@ -5,16 +5,8 @@
#include <Handle.h>
#include <map>
-namespace BConfigFile {
- struct ltstr {
- bool operator()(String s1, String s2) const {
- return s1 < s2;
- }
- };
-};
-
-typedef std::map<String, String, BConfigFile::ltstr> ConfigSectionContents;
-typedef std::map<String, ConfigSectionContents, BConfigFile::ltstr> ConfigSection;
+typedef std::map<String, String> ConfigSectionContents;
+typedef std::map<String, ConfigSectionContents> ConfigSection;
class ConfigFile : public Base {
public:
diff --git a/include/SQL.h b/include/SQL.h
index 846afe2..4385a6d 100644
--- a/include/SQL.h
+++ b/include/SQL.h
@@ -5,15 +5,7 @@
#include <mysql.h>
#include <Exceptions.h>
-namespace BMySQL {
- struct ltstr {
- bool operator()(String s1, String s2) const {
- return s1 < s2;
- }
- };
-};
-
-typedef std::map<String, String, BMySQL::ltstr> AssocArray;
+typedef std::map<String, String> AssocArray;
class SQLConnection : public Base {
public: