From a7cc7972de3401ed2ccc5002272695f098b4955f Mon Sep 17 00:00:00 2001 From: Subv Date: Sat, 20 Dec 2014 16:47:47 -0500 Subject: CFG_U: Use Common::make_unique instead of the std version --- src/core/hle/service/cfg_u.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/hle/service/cfg_u.cpp b/src/core/hle/service/cfg_u.cpp index 0e56f1245..5d21fcae8 100644 --- a/src/core/hle/service/cfg_u.cpp +++ b/src/core/hle/service/cfg_u.cpp @@ -4,6 +4,7 @@ #include "common/file_util.h" #include "common/log.h" +#include "common/make_unique.h" #include "common/string_util.h" #include "core/file_sys/archive_systemsavedata.h" #include "core/hle/hle.h" @@ -399,7 +400,7 @@ Interface::Interface() { // TODO(Subv): In the future we should use the FS service to query this archive, // currently it is not possible because you can only have one open archive of the same type at any time std::string syssavedata_directory = FileUtil::GetUserPath(D_SYSSAVEDATA_IDX); - cfg_system_save_data = std::make_unique(syssavedata_directory, + cfg_system_save_data = Common::make_unique(syssavedata_directory, CFG_SAVE_ID); if (!cfg_system_save_data->Initialize()) { LOG_CRITICAL(Service_CFG, "Could not initialize SystemSaveData archive for the CFG:U service"); -- cgit v1.2.3