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. --- gtk/PlatGTK.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk') diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index b400d4b52..4f06550a2 100755 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -1124,7 +1124,7 @@ std::unique_ptr Surface::Allocate(int) { return std::make_unique(); } -Window::~Window() {} +Window::~Window() noexcept {} void Window::Destroy() noexcept { if (wid) { @@ -1326,7 +1326,7 @@ static void list_image_free(gpointer, gpointer value, gpointer) noexcept { ListBox::ListBox() noexcept { } -ListBox::~ListBox() { +ListBox::~ListBox() noexcept { } enum { @@ -1368,7 +1368,7 @@ public: ListBoxX(ListBoxX&&) = delete; ListBoxX&operator=(const ListBoxX&) = delete; ListBoxX&operator=(ListBoxX&&) = delete; - ~ListBoxX() override { + ~ListBoxX() noexcept override { if (pixhash) { g_hash_table_foreach((GHashTable *) pixhash, list_image_free, nullptr); g_hash_table_destroy((GHashTable *) pixhash); -- cgit v1.2.3