Skip to content

Commit 65cb6eb

Browse files
committed
CI
1 parent c6746f5 commit 65cb6eb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

libcxx/include/__flat_set/flat_set.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -838,8 +838,8 @@ template <class _Key, class _Compare, class _KeyContainer, class _Predicate>
838838
_LIBCPP_HIDE_FROM_ABI typename flat_set<_Key, _Compare, _KeyContainer>::size_type
839839
erase_if(flat_set<_Key, _Compare, _KeyContainer>& __flat_set, _Predicate __pred) {
840840
auto __guard = std::__make_exception_guard([&] { __flat_set.clear(); });
841-
auto __it = std::remove_if(__flat_set.__keys_.begin(), __flat_set.__keys_.end(), [&](const auto& e) -> bool {
842-
return static_cast<bool>(__pred(e));
841+
auto __it = std::remove_if(__flat_set.__keys_.begin(), __flat_set.__keys_.end(), [&](const auto& __e) -> bool {
842+
return static_cast<bool>(__pred(__e));
843843
});
844844
auto __res = __flat_set.__keys_.end() - __it;
845845
__flat_set.__keys_.erase(__it, __flat_set.__keys_.end());

libcxx/include/module.modulemap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,6 +1291,7 @@ module std [system] {
12911291
header "__flat_set/flat_set.h"
12921292
export std.vector.vector
12931293
export std.vector.fwd
1294+
export std.flat_map.sorted_unique
12941295
}
12951296

12961297
header "flat_set"

0 commit comments

Comments
 (0)