From 14144c9ce4ef6b74cb04143b42e6a86a8a25cce1 Mon Sep 17 00:00:00 2001 From: Pcornat Date: Tue, 29 Oct 2024 22:51:14 +0100 Subject: [PATCH] on_quit to noexcept --- app_win_2_back.cpp | 2 +- app_win_2_back.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app_win_2_back.cpp b/app_win_2_back.cpp index 0c44c12..7addbd1 100644 --- a/app_win_2_back.cpp +++ b/app_win_2_back.cpp @@ -107,7 +107,7 @@ namespace gui_to_app { } } - void AppWin2Back::on_quit() { + void AppWin2Back::on_quit() noexcept { auto windows = get_windows(); for (auto *window: windows) { window->set_visible(false); diff --git a/app_win_2_back.hpp b/app_win_2_back.hpp index 4f2d1e2..f7693c6 100644 --- a/app_win_2_back.hpp +++ b/app_win_2_back.hpp @@ -28,7 +28,7 @@ namespace gui_to_app { void on_activate() final; private: - void on_quit(); + void on_quit() noexcept; learn_gtkmm4::HelloWorld *main_window{ nullptr }; Gtk::Switch *sword_switch{ nullptr };