summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2014-12-20 06:21:23 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2014-12-20 06:45:02 +0100
commit82528ba7df7bb8b2a6d89c416a66aee5c39f7f66 (patch)
tree98e535bae4b71d89614a0e75b7d83b4de0fa1c5b /src/core/file_sys
parentMerge pull request #306 from Subv/even_more_savedata (diff)
downloadyuzu-82528ba7df7bb8b2a6d89c416a66aee5c39f7f66.tar
yuzu-82528ba7df7bb8b2a6d89c416a66aee5c39f7f66.tar.gz
yuzu-82528ba7df7bb8b2a6d89c416a66aee5c39f7f66.tar.bz2
yuzu-82528ba7df7bb8b2a6d89c416a66aee5c39f7f66.tar.lz
yuzu-82528ba7df7bb8b2a6d89c416a66aee5c39f7f66.tar.xz
yuzu-82528ba7df7bb8b2a6d89c416a66aee5c39f7f66.tar.zst
yuzu-82528ba7df7bb8b2a6d89c416a66aee5c39f7f66.zip
Diffstat (limited to 'src/core/file_sys')
-rw-r--r--src/core/file_sys/archive_romfs.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/file_sys/archive_romfs.cpp b/src/core/file_sys/archive_romfs.cpp
index 0709b62a1..1e3e9dc60 100644
--- a/src/core/file_sys/archive_romfs.cpp
+++ b/src/core/file_sys/archive_romfs.cpp
@@ -5,6 +5,7 @@
#include <memory>
#include "common/common_types.h"
+#include "common/make_unique.h"
#include "core/file_sys/archive_romfs.h"
#include "core/file_sys/directory_romfs.h"
@@ -29,7 +30,7 @@ Archive_RomFS::Archive_RomFS(const Loader::AppLoader& app_loader) {
* @return Opened file, or nullptr
*/
std::unique_ptr<FileBackend> Archive_RomFS::OpenFile(const Path& path, const Mode mode) const {
- return std::make_unique<File_RomFS>(this);
+ return Common::make_unique<File_RomFS>(this);
}
/**
@@ -78,7 +79,7 @@ bool Archive_RomFS::RenameDirectory(const FileSys::Path& src_path, const FileSys
* @return Opened directory, or nullptr
*/
std::unique_ptr<DirectoryBackend> Archive_RomFS::OpenDirectory(const Path& path) const {
- return std::make_unique<Directory_RomFS>();
+ return Common::make_unique<Directory_RomFS>();
}
} // namespace FileSys