mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	ac: Correct constructor initialization order
The parent class constructor will always run before the class' initializers for member variables.
This commit is contained in:
		
							parent
							
								
									ae82b8d5cc
								
							
						
					
					
						commit
						bca58546b1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -170,7 +170,7 @@ void Module::Interface::SetClientVersion(Kernel::HLERequestContext& ctx) { | |||
| } | ||||
| 
 | ||||
| Module::Interface::Interface(std::shared_ptr<Module> ac, const char* name, u32 max_session) | ||||
|     : ac(std::move(ac)), ServiceFramework(name, max_session) {} | ||||
|     : ServiceFramework(name, max_session), ac(std::move(ac)) {} | ||||
| 
 | ||||
| void InstallInterfaces(SM::ServiceManager& service_manager) { | ||||
|     auto ac = std::make_shared<Module>(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue