diff options
author | Max Kellermann <max@duempel.org> | 2014-01-18 16:18:51 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-18 16:18:51 +0100 |
commit | 0696cac50bfc9430e5094112dc5019be70998012 (patch) | |
tree | 28e14651b80108bb895faa9e5cf3d4f0e703a0ce /src/db/upnp/Discovery.hxx | |
parent | 0c2485e86c280c69752a8fa6101e8d77ee4b9b25 (diff) | |
download | mpd-0696cac50bfc9430e5094112dc5019be70998012.tar.gz mpd-0696cac50bfc9430e5094112dc5019be70998012.tar.xz mpd-0696cac50bfc9430e5094112dc5019be70998012.zip |
db/upnp/Discovery: eliminate full copy in getServer()
Diffstat (limited to 'src/db/upnp/Discovery.hxx')
-rw-r--r-- | src/db/upnp/Discovery.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/db/upnp/Discovery.hxx b/src/db/upnp/Discovery.hxx index 59eed9331..d1df9f666 100644 --- a/src/db/upnp/Discovery.hxx +++ b/src/db/upnp/Discovery.hxx @@ -107,9 +107,7 @@ public: bool getDirServices(std::vector<ContentDirectoryService> &, Error &); /** - * Get server by friendly name. It's a bit wasteful to copy - * all servers for this, we could directly walk the list. Otoh - * there isn't going to be millions... + * Get server by friendly name. */ bool getServer(const char *friendlyName, ContentDirectoryService &server, |