diff options
Diffstat (limited to 'gdb/common')
-rw-r--r-- | gdb/common/refcounted-object.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/common/refcounted-object.h b/gdb/common/refcounted-object.h index 9d0ac10..9711680 100644 --- a/gdb/common/refcounted-object.h +++ b/gdb/common/refcounted-object.h @@ -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; |