diff options
Diffstat (limited to 'libcxx/include/__tree')
| -rw-r--r-- | libcxx/include/__tree | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libcxx/include/__tree b/libcxx/include/__tree index 8421299c9bc..8b6509cf91c 100644 --- a/libcxx/include/__tree +++ b/libcxx/include/__tree @@ -775,11 +775,14 @@ private: typedef __tree_node_types<pointer> _NodeTypes; allocator_type& __na_; - __tree_node_destructor& operator=(const __tree_node_destructor&); public: bool __value_constructed; + + __tree_node_destructor(const __tree_node_destructor &) = default; + __tree_node_destructor& operator=(const __tree_node_destructor&) = delete; + _LIBCPP_INLINE_VISIBILITY explicit __tree_node_destructor(allocator_type& __na, bool __val = false) _NOEXCEPT : __na_(__na), |

