forked from eden-emu/eden
		
	core/frontend/applets/web_browser: Make OpenPage() non-const
This is a function that definitely doesn't always have a non-modifying behavior across all implementations, so this should be made non-const. This gets rid of the need to mark data members as mutable to work around the fact mutating data members needs to occur.
This commit is contained in:
		
							parent
							
								
									37cbee5e33
								
							
						
					
					
						commit
						ab2f154ff4
					
				
					 7 changed files with 25 additions and 20 deletions
				
			
		|  | @ -13,7 +13,7 @@ DefaultWebBrowserApplet::~DefaultWebBrowserApplet() = default; | |||
| 
 | ||||
| void DefaultWebBrowserApplet::OpenPage(std::string_view filename, | ||||
|                                        std::function<void()> unpack_romfs_callback, | ||||
|                                        std::function<void()> finished_callback) const { | ||||
|                                        std::function<void()> finished_callback) { | ||||
|     LOG_INFO(Service_AM, | ||||
|              "(STUBBED) called - No suitable web browser implementation found to open website page " | ||||
|              "at '{}'!", | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lioncash
						Lioncash