mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	disk_archive: Remove unused total_entries_in_directory member from DiskDirectory
Also converts initializer list assignments to in-class initializers where relevant.
This commit is contained in:
		
							parent
							
								
									11b9d303da
								
							
						
					
					
						commit
						ed64d15060
					
				
					 2 changed files with 2 additions and 3 deletions
				
			
		|  | @ -52,7 +52,7 @@ bool DiskFile::Close() const { | |||
| 
 | ||||
| ////////////////////////////////////////////////////////////////////////////////////////////////////
 | ||||
| 
 | ||||
| DiskDirectory::DiskDirectory(const std::string& path) : directory() { | ||||
| DiskDirectory::DiskDirectory(const std::string& path) { | ||||
|     unsigned size = FileUtil::ScanDirectoryTree(path, directory); | ||||
|     directory.size = size; | ||||
|     directory.isDirectory = true; | ||||
|  |  | |||
|  | @ -59,8 +59,7 @@ public: | |||
|     } | ||||
| 
 | ||||
| protected: | ||||
|     u32 total_entries_in_directory; | ||||
|     FileUtil::FSTEntry directory; | ||||
|     FileUtil::FSTEntry directory{}; | ||||
| 
 | ||||
|     // We need to remember the last entry we returned, so a subsequent call to Read will continue
 | ||||
|     // from the next one.  This iterator will always point to the next unread entry.
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue