Use DISABLE_COPY_AND_ASSIGN
[deliverable/binutils-gdb.git] / gdb / gdb_regex.h
index f62f81d36644f03967f340a06c87ddfcbfe162f6..1ef948ed63a2a682313afbabf29abab74b181bf8 100644 (file)
@@ -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,
This page took 0.023268 seconds and 4 git commands to generate.