MAXBUF messes these up

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9902 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
pippijn 2008-06-12 21:40:17 +00:00
parent 3f331656b2
commit de347ae8fa

View File

@ -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<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);
}
#endif
/** Assign an irc::string to a std::string.
*/