cid#318933 Big parameter passed by value

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I90bb07726656e8066387ea6615045b8dbf813358
pull/9103/head
Caolán McNamara 2024-05-19 14:21:47 +01:00
parent 7a2954cc5d
commit 18aa25e1a4
1 changed files with 1 additions and 1 deletions

View File

@ -1733,7 +1733,7 @@ void ClientRequestDispatcher::handleClientProxyRequest(const Poco::Net::HTTPRequ
// need to move into the DocumentBroker context before doing session lookup / creation etc.
docBroker->setupTransfer(
disposition,
[docBroker, id = _id, uriPublic, isReadOnly,
[docBroker, id = _id, uriPublic = std::move(uriPublic), isReadOnly,
requestDetails](const std::shared_ptr<Socket>& moveSocket)
{
// Now inside the document broker thread ...