summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-15 04:26:35 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-15 04:26:35 +0000
commit0f3dee8bcde7912e158f06c038430f3ebf807901 (patch)
tree158097f7a598e3115098181801c06749446997a8
parentc4a230243f93709bd9e3629ce6c9c84da0f9c31f (diff)
GCC 3.4/4.0 fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1388 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/hashcomp.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp
index 1122c3867..7fe2fed6f 100644
--- a/src/hashcomp.cpp
+++ b/src/hashcomp.cpp
@@ -32,22 +32,14 @@
using namespace std;
-#ifdef GCC34
-size_t hash<in_addr>::operator()(const struct in_addr &a) const
-#else
size_t nspace::hash<in_addr>::operator()(const struct in_addr &a) const
-#endif
{
size_t q;
memcpy(&q,&a,sizeof(size_t));
return q;
}
-#ifdef GCC34
-size_t hash<string>::operator()(const string &s) const
-#else
size_t nspace::hash<string>::operator()(const string &s) const
-#endif
{
char a[MAXBUF];
static struct hash<const char *> strhash;