From: brain Date: Fri, 14 Jul 2006 21:29:23 +0000 (+0000) Subject: 3.3 -> 3.4 fix (the 3.3 stuff was actually craq) X-Git-Tag: v2.0.23~7862 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;ds=sidebyside;h=40ef7ec1b6ce9b99e7656286bc320799c86c8315;p=user%2Fhenk%2Fcode%2Finspircd.git 3.3 -> 3.4 fix (the 3.3 stuff was actually craq) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4393 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/include/hashcomp.h b/include/hashcomp.h index dc8c1ec81..36e5dd0c3 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -40,19 +40,12 @@ using namespace std; namespace nspace { -#ifdef GCC34 template<> struct hash -#else - template<> struct nspace::hash -#endif { size_t operator()(const struct in_addr &a) const; }; -#ifdef GCC34 - template<> struct hash -#else - template<> struct nspace::hash -#endif + + template<> struct hash { size_t operator()(const string &s) const; };