Remove useless move.
This commit is contained in:
parent
eca12c0831
commit
d0ea315e08
|
@ -86,14 +86,14 @@ void Document::download(const string &uri)
|
||||||
case 303:
|
case 303:
|
||||||
case 307:
|
case 307:
|
||||||
{
|
{
|
||||||
string newuri{extract_location(response.headers)};
|
const string newuri{extract_location(response.headers)};
|
||||||
if (newuri.empty())
|
if (newuri.empty())
|
||||||
{
|
{
|
||||||
throw HTTPException{response.code};
|
throw HTTPException{response.code};
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOST_LOG_TRIVIAL(debug) << "Feed redirect: " << _data.feedurl;
|
BOOST_LOG_TRIVIAL(debug) << "Feed redirect: " << _data.feedurl;
|
||||||
download(move(newuri));
|
download(newuri);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case -1:
|
case -1:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user