]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
MAXBUF messes these up
authorpippijn <pippijn@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 12 Jun 2008 21:40:17 +0000 (21:40 +0000)
committerpippijn <pippijn@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 12 Jun 2008 21:40:17 +0000 (21:40 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9902 e03df62e-2008-0410-955e-edbf42e46eb7

include/hashcomp.h

index 660c8e21bb530013161998cdad1b5083ca6eba85..9499c00e49c17a1579351db8dc08fc33ba05b200 100644 (file)
@@ -621,6 +621,8 @@ inline bool operator!= (const std::string& leftval, const irc::string& rightval)
        return !(leftval.c_str() == rightval);
 }
 
        return !(leftval.c_str() == rightval);
 }
 
+// FIXME MAXBUF messes up these
+#if 0
 template<std::size_t N>
 static inline bool operator == (std::string const &lhs, char const (&rhs)[N])
 {
 template<std::size_t N>
 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);
 }
 {
        return !(lhs == rhs);
 }
+#endif
 
 /** Assign an irc::string to a std::string.
  */
 
 /** Assign an irc::string to a std::string.
  */