Skip to content

Commit 7e95a82

Browse files
committed
ci
1 parent 3d762bd commit 7e95a82

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

libcxx/include/__flat_map/flat_map.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,8 @@ class flat_map {
596596

597597
// [flat.map.modifiers], modifiers
598598
template <class... _Args>
599-
requires is_constructible_v<pair<key_type, mapped_type>, _Args...>
599+
requires is_constructible_v<pair<key_type, mapped_type>, _Args...> && is_move_constructible_v<key_type> &&
600+
is_move_constructible_v<mapped_type>
600601
_LIBCPP_HIDE_FROM_ABI pair<iterator, bool> emplace(_Args&&... __args) {
601602
std::pair<key_type, mapped_type> __pair(std::forward<_Args>(__args)...);
602603
return __try_emplace(std::move(__pair.first), std::move(__pair.second));

libcxx/modules/std.compat.cppm.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ module;
5353
# if __has_include(<debugging>)
5454
# error "please update the header information for <debugging> in headers_not_available in utils/libcxx/header_information.py"
5555
# endif // __has_include(<debugging>)
56-
# if __has_include(<flat_map>)
57-
# error "please update the header information for <flat_map> in headers_not_available in utils/libcxx/header_information.py"
58-
# endif // __has_include(<flat_map>)
5956
# if __has_include(<flat_set>)
6057
# error "please update the header information for <flat_set> in headers_not_available in utils/libcxx/header_information.py"
6158
# endif // __has_include(<flat_set>)

libcxx/modules/std.cppm.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,6 @@ module;
162162
# if __has_include(<debugging>)
163163
# error "please update the header information for <debugging> in headers_not_available in utils/libcxx/header_information.py"
164164
# endif // __has_include(<debugging>)
165-
# if __has_include(<flat_map>)
166-
# error "please update the header information for <flat_map> in headers_not_available in utils/libcxx/header_information.py"
167-
# endif // __has_include(<flat_map>)
168165
# if __has_include(<flat_set>)
169166
# error "please update the header information for <flat_set> in headers_not_available in utils/libcxx/header_information.py"
170167
# endif // __has_include(<flat_set>)

0 commit comments

Comments
 (0)