Fix bug in impl of test::exception::less::operator()

This commit is contained in:
Christian Mazakas
2023-02-14 09:07:05 -08:00
parent e8fe550d6c
commit 1ee91d494d

View File

@ -262,7 +262,7 @@ namespace test {
if (less_impl(x1.first, x2.first)) {
return true;
}
if (!less_impl(x1.first, x2.first)) {
if (less_impl(x2.first, x1.first)) {
return false;
}
return less_impl(x1.second, x2.second);