Remove windows_thread_info destructor
authorTom Tromey <tromey@adacore.com>
Thu, 31 Mar 2022 16:58:55 +0000 (10:58 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 4 Apr 2022 19:58:37 +0000 (13:58 -0600)
windows_thread_info declares and defines a destructor, but this
doesn't need to be explicit.

gdb/nat/windows-nat.c
gdb/nat/windows-nat.h

index 21445f3f8594d58acc67dda6361862f80234ac02..3907286de9690094e9ca1f4dbea3e3090bd13271 100644 (file)
@@ -74,10 +74,6 @@ GenerateConsoleCtrlEvent_ftype *GenerateConsoleCtrlEvent;
   debug_prefixed_printf_cond (debug_events, "windows events", fmt, \
                              ## __VA_ARGS__)
 
-windows_thread_info::~windows_thread_info ()
-{
-}
-
 void
 windows_thread_info::suspend ()
 {
index f0abd7d795ce777f8f611c0b9b985a2250a61b65..bfb359efbf1d9bbd284947784e85b5638be86aa5 100644 (file)
@@ -43,8 +43,6 @@ struct windows_thread_info
   {
   }
 
-  ~windows_thread_info ();
-
   DISABLE_COPY_AND_ASSIGN (windows_thread_info);
 
   /* Ensure that this thread has been suspended.  */