From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 887D43858009; Mon, 4 Apr 2022 19:59:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 887D43858009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Remove windows_thread_info destructor X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 44c6a4106ea9c8d903e62b20357ea8d5387b8f4f X-Git-Newrev: fc0b013e44e5a450631706bc25612b975cfbc692 Message-Id: <20220404195916.887D43858009@sourceware.org> Date: Mon, 4 Apr 2022 19:59:16 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2022 19:59:16 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dfc0b013e44e5= a450631706bc25612b975cfbc692 commit fc0b013e44e5a450631706bc25612b975cfbc692 Author: Tom Tromey Date: Thu Mar 31 10:58:55 2022 -0600 Remove windows_thread_info destructor =20 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__) =20 -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 { } =20 - ~windows_thread_info (); - DISABLE_COPY_AND_ASSIGN (windows_thread_info); =20 /* Ensure that this thread has been suspended. */