From 40ef7ec1b6ce9b99e7656286bc320799c86c8315 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 14 Jul 2006 21:29:23 +0000 Subject: 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 --- include/hashcomp.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'include/hashcomp.h') 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; }; -- cgit v1.2.3