diff options
author | Max Kellermann <max@duempel.org> | 2014-01-22 21:41:05 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-22 21:41:05 +0100 |
commit | 0defd927f3a483de56e0d768345bce9e7266be24 (patch) | |
tree | 91da91dcc658d8b6e42c01464216c65925603a5b /src/db/upnp/ContentDirectoryService.hxx | |
parent | 6c41e8f63f6ef0eab548d49b75eb18e465009a17 (diff) | |
download | mpd-0defd927f3a483de56e0d768345bce9e7266be24.tar.gz mpd-0defd927f3a483de56e0d768345bce9e7266be24.tar.xz mpd-0defd927f3a483de56e0d768345bce9e7266be24.zip |
db/upnp: use std::list instead of std::set for SearchCapabilities
Reduce bloat. We never used the set lookup.
Diffstat (limited to 'src/db/upnp/ContentDirectoryService.hxx')
-rw-r--r-- | src/db/upnp/ContentDirectoryService.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/upnp/ContentDirectoryService.hxx b/src/db/upnp/ContentDirectoryService.hxx index bf1024c32..035849681 100644 --- a/src/db/upnp/ContentDirectoryService.hxx +++ b/src/db/upnp/ContentDirectoryService.hxx @@ -23,7 +23,7 @@ #include <upnp/upnp.h> #include <string> -#include <set> +#include <list> class Error; class UPnPDevice; @@ -114,7 +114,7 @@ public: * any tag can be used in a search, or a list of usable tag names. */ bool getSearchCapabilities(UpnpClient_Handle handle, - std::set<std::string> &result, + std::list<std::string> &result, Error &error); /** Retrieve the "friendly name" for this server, useful for display. */ |