Time: operator() on the comparator structure must be const.

The STL seems to require it, but before GCC 11 that may not
have been properly enforced.
This commit is contained in:
Augustin Cavalier 2021-11-17 21:10:05 -05:00
parent 91a0b53040
commit 52f87edca5

View File

@ -66,7 +66,7 @@ using BPrivate::ObjectDeleter;
struct TimeZoneItemLess {
bool operator()(const BString& first, const BString& second)
bool operator()(const BString& first, const BString& second) const
{
// sort anything starting with '<' behind anything else
if (first.ByteAt(0) == '<') {