Skip to content

Commit e124b63

Browse files
alloc.pass.cpp
1 parent 1d3b9ef commit e124b63

File tree

1 file changed

+1
-1
lines changed
  • libcxx/include

1 file changed

+1
-1
lines changed

libcxx/include/map

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ public:
11591159

11601160
# endif // _LIBCPP_CXX03_LANG
11611161

1162-
_LIBCPP_HIDE_FROM_ABI explicit map(const allocator_type& __a) : __tree_(typename __base::allocator_type(__a)) {}
1162+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 explicit map(const allocator_type& __a) : __tree_(typename __base::allocator_type(__a)) {}
11631163

11641164
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 map(const map& __m, const allocator_type& __a)
11651165
: __tree_(__m.__tree_.value_comp(), typename __base::allocator_type(__a)) {

0 commit comments

Comments
 (0)