diff options
| author | 2018-09-23 21:50:16 -0400 | |
|---|---|---|
| committer | 2018-09-23 21:50:20 -0400 | |
| commit | b3c2ec362bbbdd89da9c0aa84b425717f5e3d351 (patch) | |
| tree | d3f4e621532f1f280f94bac4e6d071707aabbd35 /src/core/file_sys/vfs.cpp | |
| parent | qt: Add UI elements for LayeredFS and related tools (diff) | |
| download | yuzu-b3c2ec362bbbdd89da9c0aa84b425717f5e3d351.tar.gz yuzu-b3c2ec362bbbdd89da9c0aa84b425717f5e3d351.tar.xz yuzu-b3c2ec362bbbdd89da9c0aa84b425717f5e3d351.zip | |
fsmitm: Cleanup and modernize fsmitm port
Diffstat (limited to 'src/core/file_sys/vfs.cpp')
| -rw-r--r-- | src/core/file_sys/vfs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/vfs.cpp b/src/core/file_sys/vfs.cpp index 218cfde66..5fbea1739 100644 --- a/src/core/file_sys/vfs.cpp +++ b/src/core/file_sys/vfs.cpp | |||
| @@ -399,8 +399,8 @@ bool VfsDirectory::Copy(std::string_view src, std::string_view dest) { | |||
| 399 | return f2->WriteBytes(f1->ReadAllBytes()) == f1->GetSize(); | 399 | return f2->WriteBytes(f1->ReadAllBytes()) == f1->GetSize(); |
| 400 | } | 400 | } |
| 401 | 401 | ||
| 402 | std::map<std::string, VfsEntryType> VfsDirectory::GetEntries() const { | 402 | std::map<std::string, VfsEntryType, std::less<>> VfsDirectory::GetEntries() const { |
| 403 | std::map<std::string, VfsEntryType> out; | 403 | std::map<std::string, VfsEntryType, std::less<>> out; |
| 404 | for (const auto& dir : GetSubdirectories()) | 404 | for (const auto& dir : GetSubdirectories()) |
| 405 | out.emplace(dir->GetName(), VfsEntryType::Directory); | 405 | out.emplace(dir->GetName(), VfsEntryType::Directory); |
| 406 | for (const auto& file : GetFiles()) | 406 | for (const auto& file : GetFiles()) |