From c81cf0efc07247f320b649f35500af64ff19ac24 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 5 Apr 2021 21:26:15 +1000 Subject: More noexcept on Cocoa, GTK, and Qt. --- cocoa/PlatCocoa.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cocoa') diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index af420c47b..7f26f4bb0 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -1517,7 +1517,7 @@ std::unique_ptr Surface::Allocate(int) { // be either an NSWindow or NSView and the code will check the type // before performing an action. -Window::~Window() { +Window::~Window() noexcept { } // Window::Destroy needs to see definition of ListBoxImpl so is located after ListBoxImpl @@ -2211,7 +2211,7 @@ void ListBoxImpl::SelectionChange() { ListBox::ListBox() noexcept { } -ListBox::~ListBox() { +ListBox::~ListBox() noexcept { } std::unique_ptr ListBox::Allocate() { -- cgit v1.2.3