From a06dcfeb61d6769c562d6d50cfa3c0024176ae82 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Tue, 5 Apr 2016 13:29:55 +0100 Subject: Common: Remove Common::make_unique, use std::make_unique --- src/core/file_sys/ivfc_archive.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/core/file_sys/ivfc_archive.cpp') diff --git a/src/core/file_sys/ivfc_archive.cpp b/src/core/file_sys/ivfc_archive.cpp index a8e9a72ef..c61791ef7 100644 --- a/src/core/file_sys/ivfc_archive.cpp +++ b/src/core/file_sys/ivfc_archive.cpp @@ -7,7 +7,6 @@ #include "common/common_types.h" #include "common/logging/log.h" -#include "common/make_unique.h" #include "core/file_sys/ivfc_archive.h" @@ -21,7 +20,7 @@ std::string IVFCArchive::GetName() const { } ResultVal> IVFCArchive::OpenFile(const Path& path, const Mode mode) const { - return MakeResult>(Common::make_unique(romfs_file, data_offset, data_size)); + return MakeResult>(std::make_unique(romfs_file, data_offset, data_size)); } ResultCode IVFCArchive::DeleteFile(const Path& path) const { @@ -58,7 +57,7 @@ bool IVFCArchive::RenameDirectory(const Path& src_path, const Path& dest_path) c } std::unique_ptr IVFCArchive::OpenDirectory(const Path& path) const { - return Common::make_unique(); + return std::make_unique(); } u64 IVFCArchive::GetFreeBytes() const { -- cgit v1.2.3