summaryrefslogtreecommitdiff
path: root/src/hashcomp.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-15 18:35:39 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-15 18:35:39 +0000
commit636f32fcd0ac8bdd5bb70e04b6205d9980ef344e (patch)
tree3bf89a0741d5124cfa2120f1bae357913df2d842 /src/hashcomp.cpp
parent82503a6b82042fb6d648690c8505dd31c6c057df (diff)
Moved StrHashComp and InAddr_HashComp into the irc:: namespace
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1398 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/hashcomp.cpp')
-rw-r--r--src/hashcomp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp
index a076dc46b..ca7394baa 100644
--- a/src/hashcomp.cpp
+++ b/src/hashcomp.cpp
@@ -80,7 +80,7 @@ size_t nspace::hash<string>::operator()(const string &s) const
return strhash(a);
}
-bool StrHashComp::operator()(const string& s1, const string& s2) const
+bool irc::StrHashComp::operator()(const std::string& s1, const std::string& s2) const
{
char a[MAXBUF],b[MAXBUF];
strlcpy(a,s1.c_str(),MAXBUF);
@@ -90,7 +90,7 @@ bool StrHashComp::operator()(const string& s1, const string& s2) const
return (strcasecmp(a,b) == 0);
}
-bool InAddr_HashComp::operator()(const in_addr &s1, const in_addr &s2) const
+bool irc::InAddr_HashComp::operator()(const in_addr &s1, const in_addr &s2) const
{
size_t q;
size_t p;