Browse Source

file_sys: Clang format fixes.

pull/15/merge
bunnei 8 years ago
parent
commit
5035d18baa
  1. 3
      src/core/file_sys/romfs_factory.cpp
  2. 3
      src/core/file_sys/romfs_filesystem.cpp

3
src/core/file_sys/romfs_factory.cpp

@ -23,8 +23,7 @@ ResultVal<std::unique_ptr<FileSystemBackend>> RomFS_Factory::Open(const Path& pa
return MakeResult<std::unique_ptr<FileSystemBackend>>(std::move(archive));
}
ResultCode RomFS_Factory::Format(const Path& path,
const FileSys::ArchiveFormatInfo& format_info) {
ResultCode RomFS_Factory::Format(const Path& path, const FileSys::ArchiveFormatInfo& format_info) {
LOG_ERROR(Service_FS, "Unimplemented Format archive %s", GetName().c_str());
// TODO(bunnei): Find the right error code for this
return ResultCode(-1);

3
src/core/file_sys/romfs_filesystem.cpp

@ -69,7 +69,8 @@ ResultCode RomFS_FileSystem::RenameDirectory(const Path& src_path, const Path& d
return ResultCode(-1);
}
ResultVal<std::unique_ptr<DirectoryBackend>> RomFS_FileSystem::OpenDirectory(const Path& path) const {
ResultVal<std::unique_ptr<DirectoryBackend>> RomFS_FileSystem::OpenDirectory(
const Path& path) const {
return MakeResult<std::unique_ptr<DirectoryBackend>>(std::make_unique<ROMFSDirectory>());
}

Loading…
Cancel
Save