Simplify memory management with std::unique_ptr.
[oota-llvm.git] / include / llvm / ADT / SparseMultiSet.h
index f858536b6ed8f1f954043c228c3c5966433d2eca..e3aa2589b79fb2707d73bc06d89efe61b65bb06e 100644 (file)
@@ -133,8 +133,8 @@ class SparseMultiSet {
 
   // Disable copy construction and assignment.
   // This data structure is not meant to be used that way.
-  SparseMultiSet(const SparseMultiSet&) LLVM_DELETED_FUNCTION;
-  SparseMultiSet &operator=(const SparseMultiSet&) LLVM_DELETED_FUNCTION;
+  SparseMultiSet(const SparseMultiSet&) = delete;
+  SparseMultiSet &operator=(const SparseMultiSet&) = delete;
 
   /// Whether the given entry is the head of the list. List heads's previous
   /// pointers are to the tail of the list, allowing for efficient access to the