summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar brain2006-07-14 21:28:26 +0000
committerGravatar brain2006-07-14 21:28:26 +0000
commitc93077bce0124ef3d550f65bc7ff5fdca5135d1a (patch)
tree54f46d888df0b3bf6f0541f1a15782e86f641c06 /include
parentDon't allow SAQUIT, SANICK, SAPART and SAJOIN on ulined clients :) (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/hashcomp.h12
1 files changed, 2 insertions, 10 deletions
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<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;
+ size_t operator()(const std::string &s) const;
};
}