summaryrefslogtreecommitdiff
path: root/gdb/gdb_obstack.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdb_obstack.h')
-rw-r--r--gdb/gdb_obstack.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdb_obstack.h b/gdb/gdb_obstack.h
index fb9295f5020..9b1d907678f 100644
--- a/gdb/gdb_obstack.h
+++ b/gdb/gdb_obstack.h
@@ -125,6 +125,8 @@ struct auto_obstack : obstack
~auto_obstack ()
{ obstack_free (this, NULL); }
+ DISABLE_COPY_AND_ASSIGN (auto_obstack);
+
/* Free all memory in the obstack but leave it valid for further
allocation. */
void clear ()