File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -574,9 +574,8 @@ public:
574574 __parent_ = std::__static_fancy_pointer_cast<__end_node_pointer>(__p);
575575 }
576576
577- // template <typename... Args> constexpr __tree_node_base(Args && ... args) =default;
578- _LIBCPP_HIDE_FROM_ABI __tree_node_base () = default;
579- _LIBCPP_HIDE_FROM_ABI ~__tree_node_base () = default ;
577+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 __tree_node_base () = default;
578+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 ~__tree_node_base () = default ;
580579 __tree_node_base (__tree_node_base const &) = delete ;
581580 __tree_node_base& operator =(__tree_node_base const &) = delete ;
582581};
@@ -593,8 +592,6 @@ public:
593592 template <class ... _Args>
594593 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 __tree_node (_Args&&... __args)
595594 : __value_(std::forward<_Args>(__args)...) {}
596- // TODO: libcxx26
597- // _LIBCPP_CONSTEXPR_SINCE_CXX26 __tree_node(__node_value_type && args): __value_{args} { }
598595 ~__tree_node () = delete ;
599596 __tree_node (__tree_node const &) = delete ;
600597 __tree_node& operator =(__tree_node const &) = delete ;
@@ -859,6 +856,8 @@ public:
859856 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 __node_allocator& __node_alloc () _NOEXCEPT {
860857 return __node_alloc_;
861858 }
859+ private:
860+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 const __node_allocator& __node_alloc () const _NOEXCEPT { return __node_alloc_; }
862861
863862public:
864863 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 allocator_type __alloc () const _NOEXCEPT {
You can’t perform that action at this time.
0 commit comments