diff options
Diffstat (limited to 'gdb/progspace.h')
-rw-r--r-- | gdb/progspace.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/progspace.h b/gdb/progspace.h index ec1f482..f679fe3 100644 --- a/gdb/progspace.h +++ b/gdb/progspace.h @@ -273,11 +273,7 @@ public: ~scoped_restore_current_program_space () { set_current_program_space (m_saved_pspace); } - /* Disable copy. */ - scoped_restore_current_program_space - (const scoped_restore_current_program_space &) = delete; - void operator= - (const scoped_restore_current_program_space &) = delete; + DISABLE_COPY_AND_ASSIGN (scoped_restore_current_program_space); private: program_space *m_saved_pspace; |