Use DISABLE_COPY_AND_ASSIGN
[deliverable/binutils-gdb.git] / gdb / dwarf2read.c
index d97ef922662ef6abdf0a4ce9b5f628cfe2a31c7f..b1914cf8765df75a4674e9474104e2fc7c2a0776 100644 (file)
@@ -232,9 +232,7 @@ struct dwarf2_per_objfile
 
   ~dwarf2_per_objfile ();
 
-  /* Disable copy.  */
-  dwarf2_per_objfile (const dwarf2_per_objfile &) = delete;
-  void operator= (const dwarf2_per_objfile &) = delete;
+  DISABLE_COPY_AND_ASSIGN (dwarf2_per_objfile);
 
   /* Free all cached compilation units.  */
   void free_cached_comp_units ();
This page took 0.031855 seconds and 4 git commands to generate.