on_quit to noexcept

This commit is contained in:
Pcornat 2024-10-29 22:51:14 +01:00
parent 33ba0995fd
commit 14144c9ce4
Signed by: Pcornat
GPG Key ID: E0326CC678A00BDD
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ namespace gui_to_app {
} }
} }
void AppWin2Back::on_quit() { void AppWin2Back::on_quit() noexcept {
auto windows = get_windows(); auto windows = get_windows();
for (auto *window: windows) { for (auto *window: windows) {
window->set_visible(false); window->set_visible(false);

View File

@ -28,7 +28,7 @@ namespace gui_to_app {
void on_activate() final; void on_activate() final;
private: private:
void on_quit(); void on_quit() noexcept;
learn_gtkmm4::HelloWorld *main_window{ nullptr }; learn_gtkmm4::HelloWorld *main_window{ nullptr };
Gtk::Switch *sword_switch{ nullptr }; Gtk::Switch *sword_switch{ nullptr };