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 206b42c commit cc53c54Copy full SHA for cc53c54
libcxx/include/__flat_set/flat_set.h
@@ -602,7 +602,7 @@ class flat_set {
602
603
private:
604
_LIBCPP_HIDE_FROM_ABI bool __is_sorted_and_unique(auto&& __key_container) const {
605
- auto __greater_or_equal_to = [this](const auto& __x, const auto& __y) { return !__compare_(__x, __y); };
+ auto __greater_or_equal_to = [this](const auto& __x, const auto& __y) -> bool { return !__compare_(__x, __y); };
606
return ranges::adjacent_find(__key_container, __greater_or_equal_to) == ranges::end(__key_container);
607
}
608
0 commit comments