Use DISABLE_COPY_AND_ASSIGN
[deliverable/binutils-gdb.git] / gdb / gdbthread.h
index 046bf95cf6fc7e07460dc60aa9c236d025539736..fe7acc2c70009af8608d7bb4189250332036eb65 100644 (file)
@@ -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;
This page took 0.025478 seconds and 4 git commands to generate.