Adapts move(*optional) to *move(optional) to get rvalue operator* overload

This commit is contained in:
Daniel J. Hofmann 2016-04-01 10:54:15 +02:00 committed by Patrick Niklaus
parent 6a81a9d191
commit 66eb90d9d0

View File

@ -84,7 +84,7 @@ void RequestHandler::HandleRequest(const http::request &current_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