mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-06 04:24:29 +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
@@ -23,9 +23,7 @@ struct Uint64IndexValue
|
||||
|
||||
explicit Uint64IndexValue(uint64_t featureId) : m_featureId(featureId) {}
|
||||
|
||||
bool operator<(Uint64IndexValue const & o) const { return m_featureId < o.m_featureId; }
|
||||
|
||||
bool operator==(Uint64IndexValue const & o) const { return m_featureId == o.m_featureId; }
|
||||
auto operator<=>(Uint64IndexValue const &) const = default;
|
||||
|
||||
void Swap(Uint64IndexValue & o) { std::swap(m_featureId, o.m_featureId); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user