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/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 7411b410e..4d59fea0e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -256,7 +256,7 @@ static DWORD WINAPI serviceWorkerThread(LPVOID lpParam) while (!cRoot::m_TerminateEventRaised) { // Do the normal startup - UniversalMain(cpp14::make_unique()); + UniversalMain(std::make_unique()); } return ERROR_SUCCESS; @@ -380,7 +380,7 @@ static std::unique_ptr ParseArguments(int argc, char cmd.parse(argc, argv); // Copy the parsed args' values into a settings repository: - auto repo = cpp14::make_unique(); + auto repo = std::make_unique(); if (confArg.isSet()) { AString conf_file = confArg.getValue(); @@ -441,7 +441,7 @@ static std::unique_ptr ParseArguments(int argc, char catch (const TCLAP::ArgException & exc) { fmt::print("Error reading command line {0} for arg {1}", exc.error(), exc.argId()); - return cpp14::make_unique(); + return std::make_unique(); } } -- cgit v1.2.3