diff options
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r-- | gdb/regcache.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index aa64a00..eb0454a 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -255,8 +255,7 @@ public: /* Create a readonly regcache from a non-readonly regcache. */ regcache (readonly_t, const regcache &src); - regcache (const regcache &) = delete; - void operator= (const regcache &) = delete; + DISABLE_COPY_AND_ASSIGN (regcache); /* class regcache is only extended in unit test, so only mark it virtual when selftest is enabled. */ |