diff options
Diffstat (limited to 'gdb/gdbthread.h')
-rw-r--r-- | gdb/gdbthread.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h index 046bf95..fe7acc2 100644 --- a/gdb/gdbthread.h +++ b/gdb/gdbthread.h @@ -597,11 +597,7 @@ public: scoped_restore_current_thread (); ~scoped_restore_current_thread (); - /* Disable copy. */ - scoped_restore_current_thread - (const scoped_restore_current_thread &) = delete; - void operator= - (const scoped_restore_current_thread &) = delete; + DISABLE_COPY_AND_ASSIGN (scoped_restore_current_thread); private: thread_info *m_thread; |