mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-11 04:35:05 +01: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
@ -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);
|
unsigned size = FileUtil::ScanDirectoryTree(path, directory);
|
||||||
directory.size = size;
|
directory.size = size;
|
||||||
directory.isDirectory = true;
|
directory.isDirectory = true;
|
||||||
|
@ -59,8 +59,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
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
|
// 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.
|
// from the next one. This iterator will always point to the next unread entry.
|
||||||
|
Loading…
Reference in New Issue
Block a user