Use DISABLE_COPY_AND_ASSIGN
[deliverable/binutils-gdb.git] / gdb / common / refcounted-object.h
index 9d0ac10e76bd3997aec37a35a54f432fa6afd1df..97116803238baa964bef46fad6270a6ac30290bf 100644 (file)
@@ -45,9 +45,7 @@ public:
   int refcount () const { return m_refcount; }
 
 private:
-  /* Disable copy.  */
-  refcounted_object (const refcounted_object &) = delete;
-  refcounted_object &operator=(const refcounted_object &) = delete;
+  DISABLE_COPY_AND_ASSIGN (refcounted_object);
 
   /* The reference count.  */
   int m_refcount = 0;
This page took 0.023696 seconds and 4 git commands to generate.