cid#368510 COPY_INSTEAD_OF_MOVE

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Iee1524be2f956aa049ad603a7245e022daecbcd4
pull/9103/head
Caolán McNamara 2024-05-19 12:34:12 +01:00
parent 6273690a26
commit 4cac562225
1 changed files with 1 additions and 1 deletions

View File

@ -2019,7 +2019,7 @@ void ClientRequestDispatcher::handleCapabilitiesRequest(const Poco::Net::HTTPReq
COOLWSD::getWebServerPoll()->addCallback([socket, allowedConvert]() { sendCapabilities(allowedConvert, socket); });
};
allowConvertTo(socket->clientAddress(), request, convertToAllowedCb);
allowConvertTo(socket->clientAddress(), request, std::move(convertToAllowedCb));
}
#endif