diff options
| author | MerryMage <MerryMage@users.noreply.github.com> | 2016-04-05 13:29:55 +0100 |
|---|---|---|
| committer | MerryMage <MerryMage@users.noreply.github.com> | 2016-04-05 13:31:17 +0100 |
| commit | a06dcfeb61d6769c562d6d50cfa3c0024176ae82 (patch) | |
| tree | e1f81e5faebce62810ac079b8a6e616182c34959 /src/core/file_sys/archive_extsavedata.cpp | |
| parent | b83e95727f95fa6fe35d436be3e821605244a6a8 (diff) | |
Common: Remove Common::make_unique, use std::make_unique
Diffstat (limited to 'src/core/file_sys/archive_extsavedata.cpp')
| -rw-r--r-- | src/core/file_sys/archive_extsavedata.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/archive_extsavedata.cpp b/src/core/file_sys/archive_extsavedata.cpp index 961264fe5..1d9eaefcb 100644 --- a/src/core/file_sys/archive_extsavedata.cpp +++ b/src/core/file_sys/archive_extsavedata.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_extsavedata.h" @@ -84,7 +84,7 @@ ResultVal<std::unique_ptr<ArchiveBackend>> ArchiveFactory_ExtSaveData::Open(cons ErrorSummary::InvalidState, ErrorLevel::Status); } } - auto archive = Common::make_unique<DiskArchive>(fullpath); + auto archive = std::make_unique<DiskArchive>(fullpath); return MakeResult<std::unique_ptr<ArchiveBackend>>(std::move(archive)); } |
