File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1058,7 +1058,7 @@ public:
10581058 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 void
10591059 __insert_unique_from_orphaned_node (const_iterator __p, __get_node_value_type_t <_Tp>&& __value) {
10601060#if _LIBCPP_STD_VER >= 26
1061- if constexpr (integral_constant< bool , is_copy_constructible< decltype (__value.first )>::value >() ) {
1061+ if constexpr (std::is_copy_constructible_v< decltype (__value.first )>) {
10621062 __emplace_hint_unique (__p, std::move (__value.first ), std::move (__value.second ));
10631063 } else
10641064#endif
@@ -1344,7 +1344,7 @@ private:
13441344
13451345#if _LIBCPP_STD_VER >= 26
13461346
1347- if constexpr (integral_constant< bool , is_copy_constructible< decltype (__rhs.first )>::value >() ) {
1347+ if constexpr (std::is_copy_constructible_v< decltype (__rhs.first )>) {
13481348 // we use copy, and not "move" as the constraint
13491349 // because we can NOT move from `const key_type`, which is how `value_type` is defined
13501350 // atleast for map
You can’t perform that action at this time.
0 commit comments