mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	kernel/handle_table: Default destructor in the cpp file
We don't need to potentially inline the teardown logic of all of the handle instances.
This commit is contained in:
		
							parent
							
								
									aa168b46a0
								
							
						
					
					
						commit
						83f6e9ea72
					
				
					 2 changed files with 3 additions and 0 deletions
				
			
		|  | @ -17,6 +17,8 @@ HandleTable::HandleTable(KernelSystem& kernel) : kernel(kernel) { | |||
|     Clear(); | ||||
| } | ||||
| 
 | ||||
| HandleTable::~HandleTable() = default; | ||||
| 
 | ||||
| ResultVal<Handle> HandleTable::Create(SharedPtr<Object> obj) { | ||||
|     DEBUG_ASSERT(obj != nullptr); | ||||
| 
 | ||||
|  |  | |||
|  | @ -43,6 +43,7 @@ enum KernelHandle : Handle { | |||
| class HandleTable final : NonCopyable { | ||||
| public: | ||||
|     explicit HandleTable(KernelSystem& kernel); | ||||
|     ~HandleTable(); | ||||
| 
 | ||||
|     /**
 | ||||
|      * Allocates a handle for the given object. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue