summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-14 21:29:23 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-14 21:29:23 +0000
commit40ef7ec1b6ce9b99e7656286bc320799c86c8315 (patch)
tree6c015c4036e4da2cd61bf4c608f87e7efe0b4dee /include
parenta551684ab05b850d1c9e84f710ec9d1ccf1e83d8 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/hashcomp.h11
1 files changed, 2 insertions, 9 deletions
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<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;
};