Skip to content

Commit 3d7c38f

Browse files
committed
CI
1 parent 9792433 commit 3d7c38f

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
@@ -1276,6 +1276,7 @@ module std [system] {
12761276
header "__flat_set/flat_set.h"
12771277
export std.vector.vector
12781278
export std.vector.fwd
1279+
export std.flat_map.sorted_unique
12791280
}
12801281

12811282
header "flat_set"

0 commit comments

Comments
 (0)