on_quit to noexcept
This commit is contained in:
		
					parent
					
						
							
								33ba0995fd
							
						
					
				
			
			
				commit
				
					
						14144c9ce4
					
				
			
		
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -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);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 };
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue