Commit 0da713e2 authored by Max Kellermann's avatar Max Kellermann

db/upnp: use std::move() to extract server name

Reduce runtime overhead.
parent 94cb1545
......@@ -713,7 +713,7 @@ UpnpDatabase::Visit(const DatabaseSelection &selection,
}
// We do have a path: the first element selects the server
std::string servername(vpath.front());
std::string servername(std::move(vpath.front()));
vpath.erase(vpath.begin());
ContentDirectoryService server;
......
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