summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2003-08-22 22:39:58 +0000
committerpixel <pixel>2003-08-22 22:39:58 +0000
commit7755e815baa0e702863ce811c803bc22130ab71c (patch)
tree231ca9f9ae53b16640db6e7bb4f1abc5683cdf48
parent366d123c3a01da8fd48444794f03e89ac8e248c7 (diff)
Some changes
-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: