diff options
Diffstat (limited to 'gtk/PlatGTK.cxx')
-rwxr-xr-x | gtk/PlatGTK.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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> Surface::Allocate(int) { return std::make_unique<SurfaceImpl>(); } -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); |