diff options
author | pippijn <pippijn@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-06-12 21:40:17 +0000 |
---|---|---|
committer | pippijn <pippijn@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-06-12 21:40:17 +0000 |
commit | de347ae8fa6bcd91a5a77be5a7d34f4d4e134be3 (patch) | |
tree | 845237d3bb1bdea27dd3823f0c37578808cecf15 /include/hashcomp.h | |
parent | 3f331656b295a822dca57cee7f20f280a12bf4d9 (diff) |
MAXBUF messes these up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9902 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r-- | include/hashcomp.h | 3 |
1 files changed, 3 insertions, 0 deletions
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<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. */ |