public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Remove windows_thread_info destructor
@ 2022-04-04 19:59 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2022-04-04 19:59 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fc0b013e44e5a450631706bc25612b975cfbc692

commit fc0b013e44e5a450631706bc25612b975cfbc692
Author: Tom Tromey <tromey@adacore.com>
Date:   Thu Mar 31 10:58:55 2022 -0600

    Remove windows_thread_info destructor
    
    windows_thread_info declares and defines a destructor, but this
    doesn't need to be explicit.

Diff:
---
 gdb/nat/windows-nat.c | 4 ----
 gdb/nat/windows-nat.h | 2 --
 2 files changed, 6 deletions(-)

diff --git a/gdb/nat/windows-nat.c b/gdb/nat/windows-nat.c
index 21445f3f859..3907286de96 100644
--- a/gdb/nat/windows-nat.c
+++ b/gdb/nat/windows-nat.c
@@ -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 ()
 {
diff --git a/gdb/nat/windows-nat.h b/gdb/nat/windows-nat.h
index f0abd7d795c..bfb359efbf1 100644
--- a/gdb/nat/windows-nat.h
+++ b/gdb/nat/windows-nat.h
@@ -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.  */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-04 19:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-04 19:59 [binutils-gdb] Remove windows_thread_info destructor Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).