Adapts move(*optional) to *move(optional) to get rvalue operator* overload
This commit is contained in:
parent
6a81a9d191
commit
66eb90d9d0
@ -84,7 +84,7 @@ void RequestHandler::HandleRequest(const http::request ¤t_request, http::r
|
||||
{
|
||||
|
||||
const engine::Status status =
|
||||
service_handler->RunQuery(std::move(*maybe_parsed_url), result);
|
||||
service_handler->RunQuery(*std::move(maybe_parsed_url), result);
|
||||
if (status != engine::Status::Ok)
|
||||
{
|
||||
// 4xx bad request return code
|
||||
|
Loading…
Reference in New Issue
Block a user