mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	map_interval: Change field order to address uninitialized field warning
Clang complains about `new_chunk`'s constructor using the then-uninitialized `first_chunk` (even though it's just to get a pointer into it).
This commit is contained in:
		
							parent
							
								
									7e5f595b31
								
							
						
					
					
						commit
						b8fbf6969c
					
				| @ -84,9 +84,10 @@ private: | ||||
|     void FillFreeList(Chunk& chunk); | ||||
| 
 | ||||
|     std::vector<MapInterval*> free_list; | ||||
|     std::unique_ptr<Chunk>* new_chunk = &first_chunk.next; | ||||
| 
 | ||||
|     Chunk first_chunk; | ||||
| 
 | ||||
|     std::unique_ptr<Chunk>* new_chunk = &first_chunk.next; | ||||
| }; | ||||
| 
 | ||||
| } // namespace VideoCommon
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 comex
						comex