diff options
Diffstat (limited to 'tests/HTTP/UrlClientTest.cpp')
-rw-r--r-- | tests/HTTP/UrlClientTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/HTTP/UrlClientTest.cpp b/tests/HTTP/UrlClientTest.cpp index 17f98ab70..41d61152e 100644 --- a/tests/HTTP/UrlClientTest.cpp +++ b/tests/HTTP/UrlClientTest.cpp @@ -117,7 +117,7 @@ int TestRequest1() auto callbacks = std::make_unique<cCallbacks>(evtFinished); AStringMap options; options["MaxRedirects"] = "0"; - auto res = cUrlClient::Get("http://github.com", std::move(callbacks), AStringMap(), AString(), options); + auto res = cUrlClient::Get("http://github.com", std::move(callbacks), AStringMap(), AString(), std::move(options)); if (res.first) { evtFinished->Wait(); @@ -163,7 +163,7 @@ int TestRequest3() auto callbacks = std::make_unique<cCallbacks>(evtFinished); AStringMap options; options["MaxRedirects"] = "0"; - auto res = cUrlClient::Get("https://github.com", std::move(callbacks), AStringMap(), AString(), options); + auto res = cUrlClient::Get("https://github.com", std::move(callbacks), AStringMap(), AString(), std::move(options)); if (res.first) { evtFinished->Wait(); |