summaryrefslogtreecommitdiff
path: root/src/hashcomp.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-08-22 16:49:18 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-08-22 16:49:18 +0200
commitecef36edcab5219ce1a759eb0d2d24e061b4e886 (patch)
treed3bfd54bc9b95a564b4261563bd39a784e530e81 /src/hashcomp.cpp
parent90ea1b01b78a94486b8142808c06aacff543ca64 (diff)
Create irc::equals() from StrHashComp
Make StrHashComp a wrapper around it
Diffstat (limited to 'src/hashcomp.cpp')
-rw-r--r--src/hashcomp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp
index 1bbc35d1f..2c7dca5b1 100644
--- a/src/hashcomp.cpp
+++ b/src/hashcomp.cpp
@@ -151,7 +151,7 @@ unsigned const char rfc_case_sensitive_map[256] = {
250, 251, 252, 253, 254, 255, // 250-255
};
-bool irc::StrHashComp::operator()(const std::string& s1, const std::string& s2) const
+bool irc::equals(const std::string& s1, const std::string& s2)
{
const unsigned char* n1 = (const unsigned char*)s1.c_str();
const unsigned char* n2 = (const unsigned char*)s2.c_str();