Remove extra copy operations identified by Coverity

Change-Id: I5e900082d3b17300f3a4ef95561d04c0228aba4f
This commit is contained in:
Ian Benz
2024-01-24 20:32:34 +00:00
committed by Robert Shih
parent a457c2a14d
commit 44e21cb9c2
10 changed files with 32 additions and 29 deletions

View File

@@ -120,7 +120,7 @@ bool UrlRequest::GetResponse(std::string* message) {
}
}
ConcatenateChunkedResponse(response, message);
ConcatenateChunkedResponse(std::move(response), message);
LOGV("HTTP response from %s: (%zu): %s", socket_.url().c_str(),
message->size(), message->c_str());
return true;