Skip to content

Commit 72912ac

Browse files
fix error
1 parent e28df17 commit 72912ac

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

libcxx/include/__tree

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -887,9 +887,6 @@ public:
887887
return __node_alloc_;
888888
}
889889

890-
private:
891-
_LIBCPP_HIDE_FROM_ABI const __node_allocator& __node_alloc() const _NOEXCEPT { return __node_alloc_; }
892-
893890
public:
894891
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 allocator_type __alloc() const _NOEXCEPT {
895892
return allocator_type(__node_alloc());
@@ -917,16 +914,8 @@ private:
917914
return __begin_node_;
918915
}
919916

920-
public:
921-
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 allocator_type __alloc() const _NOEXCEPT {
922-
return allocator_type(__node_alloc());
923-
}
924-
925-
private:
926-
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 size_type& size() _NOEXCEPT { return __size_; }
927917

928918
public:
929-
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 const size_type& size() const _NOEXCEPT { return __size_; }
930919
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 value_compare& value_comp() _NOEXCEPT { return __value_comp_; }
931920
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 const value_compare& value_comp() const _NOEXCEPT {
932921
return __value_comp_;

0 commit comments

Comments
 (0)