summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpippijn <pippijn@e03df62e-2008-0410-955e-edbf42e46eb7>2008-06-12 21:34:02 +0000
committerpippijn <pippijn@e03df62e-2008-0410-955e-edbf42e46eb7>2008-06-12 21:34:02 +0000
commit3f331656b295a822dca57cee7f20f280a12bf4d9 (patch)
treeb4f0f5ac812732cee92e194e0e56400e1be79be0
parent63ee682557f9d63daeaa17788923223b58f83452 (diff)
fixed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9901 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/hashcomp.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index 24d0af600..660c8e21b 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -633,18 +633,6 @@ static inline bool operator != (std::string const &lhs, char const (&rhs)[N])
return !(lhs == rhs);
}
-template<std::size_t N>
-static inline bool operator == (irc::string const &lhs, char const (&rhs)[N])
-{
- return lhs.length() == N - 1 && !std::memcmp(lhs.data(), rhs, N - 1);
-}
-
-template<std::size_t N>
-static inline bool operator != (irc::string const &lhs, char const (&rhs)[N])
-{
- return !(lhs == rhs);
-}
-
/** Assign an irc::string to a std::string.
*/
inline std::string assign(const irc::string &other) { return other.c_str(); }