From c93077bce0124ef3d550f65bc7ff5fdca5135d1a Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 14 Jul 2006 21:28:26 +0000 Subject: Removed #ifdef stuff, this should be fine on both 3.3 and 3.4 git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4392 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/hashcomp.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'include') diff --git a/include/hashcomp.h b/include/hashcomp.h index dc7b83505..ce1afa455 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -50,21 +50,13 @@ 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; + size_t operator()(const std::string &s) const; }; } -- cgit v1.3.1-10-gc9f91