diff options
Diffstat (limited to 'gdb/gdb_regex.h')
-rw-r--r-- | gdb/gdb_regex.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/gdb_regex.h b/gdb/gdb_regex.h index f62f81d..1ef948e 100644 --- a/gdb/gdb_regex.h +++ b/gdb/gdb_regex.h @@ -43,9 +43,7 @@ public: ~compiled_regex (); - /* Disable copy. */ - compiled_regex (const compiled_regex&) = delete; - void operator= (const compiled_regex&) = delete; + DISABLE_COPY_AND_ASSIGN (compiled_regex); /* Wrapper around ::regexec. */ int exec (const char *string, |