fixed string problems
[physics.git] / src / config / keys.h
index 49fe66f..31dfcdd 100644 (file)
 
 #include "../debug.h"
 
-class comparestrings
-{
-  public:
-    bool operator()
-    (
-        const std::string& a,
-        const std::string& b
-    )
-    {
-        cout << a << endl;
-        cout << b << endl;
-        cout << endl;
-
-        return a.compare(b) < 0;
-    }
-};
-
 /// ***** Header Methods *****
 namespace key
 {
@@ -51,7 +34,7 @@ namespace key
     extern SDLKey follow;
     extern SDLKey well;
 
-    typedef std::map<std::string, SDLKey*, comparestrings> inputMap;
+    typedef std::map<std::string, SDLKey*> inputMap;
 
     extern inputMap sdlMap;