Skip to content
Snippets Groups Projects
Unverified Commit bdcd00f8 authored by Jan Trávníček's avatar Jan Trávníček Committed by Tomáš Pecka
Browse files

std: use three-way comparison in map test

parent 2b471285
No related branches found
No related tags found
1 merge request!192Some backlog changes from g++-11 adaptation attempts
...@@ -31,8 +31,8 @@ namespace { ...@@ -31,8 +31,8 @@ namespace {
return * this; return * this;
} }
   
bool operator<(const Moveable&) const { auto operator <=> (const Moveable&) const {
return false; return std::strong_ordering::equal;
} }
}; };
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment