1
0
Fork 0
forked from suyu/suyu

disk_filesystem: Remove redundant initializer in Disk_Directory's constructor

This commit is contained in:
Lioncash 2018-04-19 21:28:07 -04:00
parent b05f8ea5b5
commit e61a4dd485

View file

@ -183,7 +183,7 @@ bool Disk_Storage::SetSize(const u64 size) const {
return true; return true;
} }
Disk_Directory::Disk_Directory(const std::string& path) : directory() { Disk_Directory::Disk_Directory(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;