aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-03-31 10:58:55 -0600
committerTom Tromey <tromey@adacore.com>2022-04-04 13:58:37 -0600
commitfc0b013e44e5a450631706bc25612b975cfbc692 (patch)
tree7282b89fce0d21b56486fbdab621ee609140b18e /gdb
parent44c6a4106ea9c8d903e62b20357ea8d5387b8f4f (diff)
downloadgdb-fc0b013e44e5a450631706bc25612b975cfbc692.zip
gdb-fc0b013e44e5a450631706bc25612b975cfbc692.tar.gz
gdb-fc0b013e44e5a450631706bc25612b975cfbc692.tar.bz2
Remove windows_thread_info destructor
windows_thread_info declares and defines a destructor, but this doesn't need to be explicit.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/nat/windows-nat.c4
-rw-r--r--gdb/nat/windows-nat.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/gdb/nat/windows-nat.c b/gdb/nat/windows-nat.c
index 21445f3..3907286 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 f0abd7d..bfb359e 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. */