Remove string_iless

It's unused
This commit is contained in:
Jean Flach 2017-12-20 11:18:28 +01:00
parent 0791a8ddde
commit 6d9a0fe3a9

View File

@ -506,23 +506,6 @@ inline String::ConstIterator range_end(const String& x)
return x.End();
}
struct string_iless : std::binary_function<String, String, bool>
{
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