mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	core: Resolve -Wreorder warnings
Ensures the initialization order matches the actual order that the class member variables will be initialized in.
This commit is contained in:
		
							parent
							
								
									2476532f21
								
							
						
					
					
						commit
						563a540dfd
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -21,7 +21,7 @@ class HLERequestContext::ThreadCallback : public Kernel::WakeupCallback { | |||
| public: | ||||
|     ThreadCallback(std::shared_ptr<HLERequestContext> context_, | ||||
|                    std::shared_ptr<HLERequestContext::WakeupCallback> callback_) | ||||
|         : context(std::move(context_)), callback(std::move(callback_)) {} | ||||
|         : callback(std::move(callback_)), context(std::move(context_)) {} | ||||
|     void WakeUp(ThreadWakeupReason reason, std::shared_ptr<Thread> thread, | ||||
|                 std::shared_ptr<WaitObject> object) { | ||||
|         ASSERT(thread->status == ThreadStatus::WaitHleEvent); | ||||
|  |  | |||
|  | @ -38,7 +38,7 @@ bool VirtualMemoryArea::CanBeMergedWith(const VirtualMemoryArea& next) const { | |||
| } | ||||
| 
 | ||||
| VMManager::VMManager(Memory::MemorySystem& memory) | ||||
|     : memory(memory), page_table(std::make_shared<Memory::PageTable>()) { | ||||
|     : page_table(std::make_shared<Memory::PageTable>()), memory(memory) { | ||||
|     Reset(); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue