[libcxx-commits] [PATCH] D71744: [libc++] avoid g++9 Wdeprecated-copy in __hash_table & __tree

Ryan Libby via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Dec 20 01:47:18 PST 2019


rlibby updated this revision to Diff 234838.
rlibby added a comment.

style: tabs->spaces


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71744/new/

https://reviews.llvm.org/D71744

Files:
  include/__hash_table
  include/__tree


Index: include/__tree
===================================================================
--- include/__tree
+++ include/__tree
@@ -775,7 +775,8 @@
     typedef __tree_node_types<pointer> _NodeTypes;
     allocator_type& __na_;
 
-    __tree_node_destructor& operator=(const __tree_node_destructor&);
+    __tree_node_destructor& operator=(const __tree_node_destructor&)
+        _LIBCPP_EQUAL_DELETE;
 
 public:
     bool __value_constructed;
Index: include/__hash_table
===================================================================
--- include/__hash_table
+++ include/__hash_table
@@ -825,7 +825,8 @@
 
     allocator_type& __na_;
 
-    __hash_node_destructor& operator=(const __hash_node_destructor&);
+    __hash_node_destructor& operator=(const __hash_node_destructor&)
+        _LIBCPP_EQUAL_DELETE;
 
 public:
     bool __value_constructed;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71744.234838.patch
Type: text/x-patch
Size: 856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20191220/e32d52bf/attachment.bin>


More information about the libcxx-commits mailing list