We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0f56c0 commit 436ae2eCopy full SHA for 436ae2e
libcxx/include/__flat_map/flat_multimap.h
@@ -777,7 +777,7 @@ class flat_multimap {
777
auto __zv = ranges::views::zip(__containers_.keys, __containers_.values);
778
auto __append_start_offset = __containers_.keys.size() - __num_appended;
779
auto __end = __zv.end();
780
- auto __compare_key = [this](const auto& __p1, const auto& __p2) {
+ auto __compare_key = [this](const auto& __p1, const auto& __p2) -> bool {
781
return __compare_(std::get<0>(__p1), std::get<0>(__p2));
782
};
783
if constexpr (!_WasSorted) {
0 commit comments