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<>. --- tests/HTTP/UrlClientTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/HTTP/UrlClientTest.cpp b/tests/HTTP/UrlClientTest.cpp index 05844ca53..17f98ab70 100644 --- a/tests/HTTP/UrlClientTest.cpp +++ b/tests/HTTP/UrlClientTest.cpp @@ -114,7 +114,7 @@ int TestRequest1() { LOG("Running test 1"); auto evtFinished = std::make_shared(); - auto callbacks = cpp14::make_unique(evtFinished); + auto callbacks = std::make_unique(evtFinished); AStringMap options; options["MaxRedirects"] = "0"; auto res = cUrlClient::Get("http://github.com", std::move(callbacks), AStringMap(), AString(), options); @@ -138,7 +138,7 @@ int TestRequest2() { LOG("Running test 2"); auto evtFinished = std::make_shared(); - auto callbacks = cpp14::make_unique(evtFinished); + auto callbacks = std::make_unique(evtFinished); auto res = cUrlClient::Get("http://github.com", std::move(callbacks)); if (res.first) { @@ -160,7 +160,7 @@ int TestRequest3() { LOG("Running test 3"); auto evtFinished = std::make_shared(); - auto callbacks = cpp14::make_unique(evtFinished); + auto callbacks = std::make_unique(evtFinished); AStringMap options; options["MaxRedirects"] = "0"; auto res = cUrlClient::Get("https://github.com", std::move(callbacks), AStringMap(), AString(), options); @@ -184,7 +184,7 @@ int TestRequest4() { LOG("Running test 4"); auto evtFinished = std::make_shared(); - auto callbacks = cpp14::make_unique(evtFinished); + auto callbacks = std::make_unique(evtFinished); auto res = cUrlClient::Get("https://github.com", std::move(callbacks)); if (res.first) { -- cgit v1.2.3