diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-21 04:23:56 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-21 04:23:58 +0200 |
commit | d36e327ba62fc853d75c413fd30ba38385dfa210 (patch) | |
tree | 9c1c715eebdeda015d94722cea5a65a3d2192d54 /src/core/file_sys/partition_filesystem.cpp | |
parent | partition_filesystem, vfs_real: Use std::distance() instead of subtraction (diff) | |
download | yuzu-d36e327ba62fc853d75c413fd30ba38385dfa210.tar yuzu-d36e327ba62fc853d75c413fd30ba38385dfa210.tar.gz yuzu-d36e327ba62fc853d75c413fd30ba38385dfa210.tar.bz2 yuzu-d36e327ba62fc853d75c413fd30ba38385dfa210.tar.lz yuzu-d36e327ba62fc853d75c413fd30ba38385dfa210.tar.xz yuzu-d36e327ba62fc853d75c413fd30ba38385dfa210.tar.zst yuzu-d36e327ba62fc853d75c413fd30ba38385dfa210.zip |
Diffstat (limited to 'src/core/file_sys/partition_filesystem.cpp')
-rw-r--r-- | src/core/file_sys/partition_filesystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/partition_filesystem.cpp b/src/core/file_sys/partition_filesystem.cpp index fc37a40cc..c523a605a 100644 --- a/src/core/file_sys/partition_filesystem.cpp +++ b/src/core/file_sys/partition_filesystem.cpp @@ -109,7 +109,7 @@ bool PartitionFilesystem::ReplaceFileWithSubdirectory(VirtualFile file, VirtualD pfs_files[offset] = pfs_files.back(); pfs_files.pop_back(); - pfs_dirs.emplace_back(dir); + pfs_dirs.emplace_back(std::move(dir)); return true; } |