partition_filesystem: Return pfs_dirs member variable within GetSubdirectories()

This should be returned here, otherwise pfs_dirs is effectively only
ever added to, but never read.
This commit is contained in:
Lioncash 2018-07-19 21:08:15 -04:00
parent d3cfaf95c8
commit bbd6429ecb
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ std::vector<std::shared_ptr<VfsFile>> PartitionFilesystem::GetFiles() const {
} }
std::vector<std::shared_ptr<VfsDirectory>> PartitionFilesystem::GetSubdirectories() const { std::vector<std::shared_ptr<VfsDirectory>> PartitionFilesystem::GetSubdirectories() const {
return {}; return pfs_dirs;
} }
std::string PartitionFilesystem::GetName() const { std::string PartitionFilesystem::GetName() const {