mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-18 18:08:18 -05:00
Common: Remove Common::make_unique, use std::make_unique
This commit is contained in:
@ -3,10 +3,10 @@
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
|
||||
#include "common/file_util.h"
|
||||
#include "common/logging/log.h"
|
||||
#include "common/make_unique.h"
|
||||
|
||||
#include "core/file_sys/archive_sdmc.h"
|
||||
#include "core/file_sys/disk_archive.h"
|
||||
@ -36,7 +36,7 @@ bool ArchiveFactory_SDMC::Initialize() {
|
||||
}
|
||||
|
||||
ResultVal<std::unique_ptr<ArchiveBackend>> ArchiveFactory_SDMC::Open(const Path& path) {
|
||||
auto archive = Common::make_unique<DiskArchive>(sdmc_directory);
|
||||
auto archive = std::make_unique<DiskArchive>(sdmc_directory);
|
||||
return MakeResult<std::unique_ptr<ArchiveBackend>>(std::move(archive));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user