]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
3.3 -> 3.4 fix (the 3.3 stuff was actually craq)
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 14 Jul 2006 21:29:23 +0000 (21:29 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 14 Jul 2006 21:29:23 +0000 (21:29 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4393 e03df62e-2008-0410-955e-edbf42e46eb7

include/hashcomp.h

index dc8c1ec81aa619e4bc0f8f5f8b4ccdc67022c078..36e5dd0c3d41d5d360fbe69daf5c7d933e791eb9 100644 (file)
@@ -40,19 +40,12 @@ using namespace std;
 
 namespace nspace
 {
-#ifdef GCC34
         template<> struct hash<in_addr>
-#else
-        template<> struct nspace::hash<in_addr>
-#endif
         {
                 size_t operator()(const struct in_addr &a) const;
         };
-#ifdef GCC34
-        template<> struct hash<string>
-#else
-        template<> struct nspace::hash<string>
-#endif
+
+        template<> struct hash<std::string>
         {
                 size_t operator()(const string &s) const;
         };