From 46398f4671012a0d913bd7bc0c70ffdc2645f2ac Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sat, 1 Aug 2020 20:18:03 +0200 Subject: Replaced cpp14::make_unique<> with std::make_unique<>. --- src/Root.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Root.cpp') diff --git a/src/Root.cpp b/src/Root.cpp index 8b8df817d..4b40fd983 100644 --- a/src/Root.cpp +++ b/src/Root.cpp @@ -177,7 +177,7 @@ void cRoot::Start(std::unique_ptr a_OverridesRepo) m_SettingsFilename = a_OverridesRepo->GetValue("Server","ConfigFile"); } - auto IniFile = cpp14::make_unique(); + auto IniFile = std::make_unique(); bool IsNewIniFile = !IniFile->ReadFile(m_SettingsFilename); if (IsNewIniFile) @@ -187,7 +187,7 @@ void cRoot::Start(std::unique_ptr a_OverridesRepo) IniFile->AddHeaderComment(" Most of the settings here can be configured using the webadmin interface, if enabled in webadmin.ini"); } - auto settingsRepo = cpp14::make_unique(std::move(IniFile), std::move(a_OverridesRepo)); + auto settingsRepo = std::make_unique(std::move(IniFile), std::move(a_OverridesRepo)); LOG("Starting server..."); -- cgit v1.2.3