diff options
| author | bunnei <bunneidev@gmail.com> | 2018-04-24 08:57:46 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-24 08:57:46 -0400 |
| commit | 74951426886a9ae47873a1ea2af791ba273e06dd (patch) | |
| tree | 99ba0561c6fe429169a40e76a70db7b3f99a71ee /src/core/file_sys/romfs_filesystem.cpp | |
| parent | 07dc0bbf3e10c030a32f6853de31642162ce988d (diff) | |
| parent | a0179e5ca5bc54491f03ff60d2f971197eb03e88 (diff) | |
Merge pull request #389 from mailwl/fs-renamefile
Service/FS: implement IFileSystem::RenameFile
Diffstat (limited to 'src/core/file_sys/romfs_filesystem.cpp')
| -rw-r--r-- | src/core/file_sys/romfs_filesystem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/file_sys/romfs_filesystem.cpp b/src/core/file_sys/romfs_filesystem.cpp index 3d77e2d5f..b9982e6fa 100644 --- a/src/core/file_sys/romfs_filesystem.cpp +++ b/src/core/file_sys/romfs_filesystem.cpp @@ -27,7 +27,8 @@ ResultCode RomFS_FileSystem::DeleteFile(const std::string& path) const { return ResultCode(-1); } -ResultCode RomFS_FileSystem::RenameFile(const Path& src_path, const Path& dest_path) const { +ResultCode RomFS_FileSystem::RenameFile(const std::string& src_path, + const std::string& dest_path) const { LOG_CRITICAL(Service_FS, "Attempted to rename a file within an ROMFS archive (%s).", GetName().c_str()); // TODO(wwylele): Use correct error code |
