mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-06 12:34:24 +00:00
Fixed C++20 deprecation warning for std::rel_ops::operator<=
Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
committed by
Konstantin Pastbin
parent
2aaf37e9ee
commit
7781528263
@@ -115,7 +115,7 @@ void BuildSuccinctTrie(TWriter & writer, TIter const beg, TIter const end)
|
||||
continue;
|
||||
TrieChar const * const keyData = entry.GetKeyData();
|
||||
TTrieString key(keyData, keyData + entry.GetKeySize());
|
||||
using namespace std::rel_ops; // ">=" for keys.
|
||||
|
||||
CHECK_GREATER_OR_EQUAL(key, prevKey, (key, prevKey));
|
||||
entries.push_back(entry);
|
||||
entryStrings.push_back(strings::UniString(keyData, keyData + entry.GetKeySize()));
|
||||
|
||||
Reference in New Issue
Block a user