We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80b2f06 commit c5d73ddCopy full SHA for c5d73dd
libcxx/include/__tree
@@ -1356,11 +1356,7 @@ private:
1356
__assign_value__sfinae(true_type, __get_node_value_type_t<value_type>& __lhs, _From&& __rhs) {
1357
__node_allocator& __na = __node_alloc();
1358
__node_traits::destroy(__na, std::addressof(__lhs));
1359
-
1360
- using __node_value_type = __get_node_value_type_t<value_type>;
1361
- __node_value_type __tmp(__rhs.first, __rhs.second);
1362
1363
- __node_traits::construct(__na, std::addressof(__lhs), std::move(__tmp));
+ __node_traits::construct(__na, std::addressof(__lhs), __rhs.first, __rhs.second);
1364
}
1365
1366
template <class _From, class _ValueT = _Tp, __enable_if_t<__is_tree_value_type_v<_ValueT>, int> = 0>
0 commit comments