From 9fd5806c14c222ad17e9f178ccec6eb96dc94f40 Mon Sep 17 00:00:00 2001 From: Victor Vazquez Date: Wed, 2 Jun 2021 09:37:35 -0700 Subject: [PATCH] remove move from const (#2375) --- sdk/core/azure-core/src/http/curl/curl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/core/azure-core/src/http/curl/curl.cpp b/sdk/core/azure-core/src/http/curl/curl.cpp index 210f6c625..65233a544 100644 --- a/sdk/core/azure-core/src/http/curl/curl.cpp +++ b/sdk/core/azure-core/src/http/curl/curl.cpp @@ -1380,7 +1380,7 @@ std::unique_ptr CurlConnectionPool::ExtractOrCreateCurlCo + std::string(curl_easy_strerror(performResult))); } - return std::make_unique(newHandle, std::move(connectionKey)); + return std::make_unique(newHandle, connectionKey); } // Move the connection back to the connection pool. Push it to the front so it becomes the