mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
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:
parent
3f331656b2
commit
de347ae8fa
@ -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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user