diff options
author | Mathew Maidment <mathew1800@gmail.com> | 2016-04-06 02:10:11 +0200 |
---|---|---|
committer | Mathew Maidment <mathew1800@gmail.com> | 2016-04-06 02:10:11 +0200 |
commit | aa6380e5bc9c3b40e53c001e76838819d61ca62a (patch) | |
tree | 22d8a5dc94874820d5bd7a8964485153db234672 /src/core/file_sys/archive_savedatacheck.cpp | |
parent | Merge pull request #1620 from LFsWang/path (diff) | |
parent | Common: Remove Common::make_unique, use std::make_unique (diff) | |
download | yuzu-aa6380e5bc9c3b40e53c001e76838819d61ca62a.tar yuzu-aa6380e5bc9c3b40e53c001e76838819d61ca62a.tar.gz yuzu-aa6380e5bc9c3b40e53c001e76838819d61ca62a.tar.bz2 yuzu-aa6380e5bc9c3b40e53c001e76838819d61ca62a.tar.lz yuzu-aa6380e5bc9c3b40e53c001e76838819d61ca62a.tar.xz yuzu-aa6380e5bc9c3b40e53c001e76838819d61ca62a.tar.zst yuzu-aa6380e5bc9c3b40e53c001e76838819d61ca62a.zip |
Diffstat (limited to 'src/core/file_sys/archive_savedatacheck.cpp')
-rw-r--r-- | src/core/file_sys/archive_savedatacheck.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/archive_savedatacheck.cpp b/src/core/file_sys/archive_savedatacheck.cpp index 3db11c500..9f65e5455 100644 --- a/src/core/file_sys/archive_savedatacheck.cpp +++ b/src/core/file_sys/archive_savedatacheck.cpp @@ -3,12 +3,12 @@ // Refer to the license.txt file included. #include <algorithm> +#include <memory> #include <vector> #include "common/common_types.h" #include "common/file_util.h" #include "common/logging/log.h" -#include "common/make_unique.h" #include "common/string_util.h" #include "core/file_sys/archive_savedatacheck.h" @@ -44,7 +44,7 @@ ResultVal<std::unique_ptr<ArchiveBackend>> ArchiveFactory_SaveDataCheck::Open(co } auto size = file->GetSize(); - auto archive = Common::make_unique<IVFCArchive>(file, 0, size); + auto archive = std::make_unique<IVFCArchive>(file, 0, size); return MakeResult<std::unique_ptr<ArchiveBackend>>(std::move(archive)); } |