Remove useless move.

This commit is contained in:
tastytea 2019-12-25 19:28:48 +01:00
parent eca12c0831
commit d0ea315e08
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -86,14 +86,14 @@ void Document::download(const string &uri)
case 303:
case 307:
{
string newuri{extract_location(response.headers)};
const string newuri{extract_location(response.headers)};
if (newuri.empty())
{
throw HTTPException{response.code};
}
BOOST_LOG_TRIVIAL(debug) << "Feed redirect: " << _data.feedurl;
download(move(newuri));
download(newuri);
break;
}
case -1: