From de347ae8fa6bcd91a5a77be5a7d34f4d4e134be3 Mon Sep 17 00:00:00 2001 From: pippijn Date: Thu, 12 Jun 2008 21:40:17 +0000 Subject: MAXBUF messes these up git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9902 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/hashcomp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/hashcomp.h b/include/hashcomp.h index 660c8e21b..9499c00e4 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -621,6 +621,8 @@ inline bool operator!= (const std::string& leftval, const irc::string& rightval) return !(leftval.c_str() == rightval); } +// FIXME MAXBUF messes up these +#if 0 template static inline bool operator == (std::string const &lhs, char const (&rhs)[N]) { @@ -632,6 +634,7 @@ static inline bool operator != (std::string const &lhs, char const (&rhs)[N]) { return !(lhs == rhs); } +#endif /** Assign an irc::string to a std::string. */ -- cgit v1.2.3