Skip to content

Commit c1a776e

Browse files
single branch
1 parent f5cc9c3 commit c1a776e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

libcxx/include/__tree

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -609,12 +609,7 @@ public:
609609

610610
template <class _Alloc, class... _Args>
611611
_LIBCPP_HIDE_FROM_ABI explicit __tree_node(_Alloc& __na, _Args&&... __args) {
612-
#ifndef _LIBCPP_CXX03_LANG
613-
allocator_traits<_Alloc>::construct(__na, std::addressof(__value_), std::forward<_Args>(__args)...);
614-
#else
615-
allocator_traits<_Alloc>::construct(
616-
__na, reinterpret_cast<__node_value_type*>(__buffer_), std::forward<_Args>(__args)...);
617-
#endif
612+
allocator_traits<_Alloc>::construct(__na, std::addressof(__get_value()), std::forward<_Args>(__args)...);
618613
}
619614
~__tree_node() = delete;
620615
__tree_node(__tree_node const&) = delete;

0 commit comments

Comments
 (0)