[2/6] Use DISABLE_COPY_AND_ASSIGN in auto_client_timevar
diff mbox series

Message ID 20191205200852.19076-3-dmalcolm@redhat.com
State New
Headers show
Series
  • Use DISABLE_COPY_AND_ASSIGN
Related show

Commit Message

David Malcolm Dec. 5, 2019, 8:08 p.m. UTC
gcc/ChangeLog:
	* timevar.h (auto_client_timevar): Use DISABLE_COPY_AND_ASSIGN.
---
 gcc/timevar.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch
diff mbox series

diff --git a/gcc/timevar.h b/gcc/timevar.h
index c3b6233c35dd..47586f7b5847 100644
--- a/gcc/timevar.h
+++ b/gcc/timevar.h
@@ -281,8 +281,7 @@  class auto_client_timevar
   }
 
  private:
-  // Private to disallow copies.
-  auto_client_timevar (const auto_client_timevar &);
+  DISABLE_COPY_AND_ASSIGN (auto_client_timevar);
 
   timer *m_timer;
 };