From 6d9a0fe3a93ff88a7f0cfeb855f54c370368fcbe Mon Sep 17 00:00:00 2001 From: Jean Flach Date: Wed, 20 Dec 2017 11:18:28 +0100 Subject: [PATCH] Remove string_iless It's unused --- lib/base/string.hpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/lib/base/string.hpp b/lib/base/string.hpp index 3016bde34..ae94e952f 100644 --- a/lib/base/string.hpp +++ b/lib/base/string.hpp @@ -506,23 +506,6 @@ inline String::ConstIterator range_end(const String& x) return x.End(); } -struct string_iless : std::binary_function -{ - bool operator()(const String& s1, const String& s2) const - { - return strcasecmp(s1.CStr(), s2.CStr()) < 0; - - /* The "right" way would be to do this - however the - * overhead is _massive_ due to the repeated non-inlined - * function calls: - - return lexicographical_compare(s1.Begin(), s1.End(), - s2.Begin(), s2.End(), boost::algorithm::is_iless()); - - */ - } -}; - } namespace boost -- 2.40.0