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;