diff options
author | bunnei <bunneidev@gmail.com> | 2021-05-03 00:12:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-03 00:12:07 +0200 |
commit | c17a59b58e4c78dfee976dabddd13c3c6fdf95b7 (patch) | |
tree | 7a935c140bd467ca9e5e3ca27547ee6fee14861f /src/core/file_sys/vfs_vector.cpp | |
parent | Merge pull request #6263 from Kewlan/folder-swap-expand-state (diff) | |
parent | file_sys: Resolve cases of variable shadowing (diff) | |
download | yuzu-c17a59b58e4c78dfee976dabddd13c3c6fdf95b7.tar yuzu-c17a59b58e4c78dfee976dabddd13c3c6fdf95b7.tar.gz yuzu-c17a59b58e4c78dfee976dabddd13c3c6fdf95b7.tar.bz2 yuzu-c17a59b58e4c78dfee976dabddd13c3c6fdf95b7.tar.lz yuzu-c17a59b58e4c78dfee976dabddd13c3c6fdf95b7.tar.xz yuzu-c17a59b58e4c78dfee976dabddd13c3c6fdf95b7.tar.zst yuzu-c17a59b58e4c78dfee976dabddd13c3c6fdf95b7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/file_sys/vfs_vector.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/file_sys/vfs_vector.cpp b/src/core/file_sys/vfs_vector.cpp index c1ec1e645..1a3f06227 100644 --- a/src/core/file_sys/vfs_vector.cpp +++ b/src/core/file_sys/vfs_vector.cpp @@ -103,12 +103,12 @@ static bool FindAndRemoveVectorElement(std::vector<T>& vec, std::string_view nam return true; } -bool VectorVfsDirectory::DeleteSubdirectory(std::string_view name) { - return FindAndRemoveVectorElement(dirs, name); +bool VectorVfsDirectory::DeleteSubdirectory(std::string_view subdir_name) { + return FindAndRemoveVectorElement(dirs, subdir_name); } -bool VectorVfsDirectory::DeleteFile(std::string_view name) { - return FindAndRemoveVectorElement(files, name); +bool VectorVfsDirectory::DeleteFile(std::string_view file_name) { + return FindAndRemoveVectorElement(files, file_name); } bool VectorVfsDirectory::Rename(std::string_view name_) { @@ -116,11 +116,11 @@ bool VectorVfsDirectory::Rename(std::string_view name_) { return true; } -VirtualDir VectorVfsDirectory::CreateSubdirectory(std::string_view name) { +VirtualDir VectorVfsDirectory::CreateSubdirectory(std::string_view subdir_name) { return nullptr; } -VirtualFile VectorVfsDirectory::CreateFile(std::string_view name) { +VirtualFile VectorVfsDirectory::CreateFile(std::string_view file_name) { return nullptr; } |