Commit a335bc45 authored by Jean-Francois Dockes's avatar Jean-Francois Dockes
Browse files

remove gratuitous and warning-generating std::move use

parent 210544fb
......@@ -158,13 +158,13 @@ StreamProxy::UrlTransReturn translateurl(
if (method == StreamProxy::Proxy) {
if (!realplg->getname().compare("spotify")) {
#ifdef ENABLE_SPOTIFY
fetcher = std::move(std::unique_ptr<NetFetch>(new SpotiFetch(url)));
fetcher = std::unique_ptr<NetFetch>(new SpotiFetch(url));
#else
LOGERR("Spotify URL but Spotify not supported by build\n");
return StreamProxy::Error;
#endif
} else {
fetcher = std::move(std::unique_ptr<NetFetch>(new CurlFetch(url)));
fetcher = std::unique_ptr<NetFetch>(new CurlFetch(url));
}
}
return method;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment