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 f5cc9c3 commit c1a776eCopy full SHA for c1a776e
libcxx/include/__tree
@@ -609,12 +609,7 @@ public:
609
610
template <class _Alloc, class... _Args>
611
_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
+ allocator_traits<_Alloc>::construct(__na, std::addressof(__get_value()), std::forward<_Args>(__args)...);
618
}
619
~__tree_node() = delete;
620
__tree_node(__tree_node const&) = delete;
0 commit comments