aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/UpnpDatabasePlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-22 21:41:05 +0100
committerMax Kellermann <max@duempel.org>2014-01-22 21:41:05 +0100
commit0defd927f3a483de56e0d768345bce9e7266be24 (patch)
tree91da91dcc658d8b6e42c01464216c65925603a5b /src/db/UpnpDatabasePlugin.cxx
parent6c41e8f63f6ef0eab548d49b75eb18e465009a17 (diff)
downloadmpd-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/UpnpDatabasePlugin.cxx')
-rw-r--r--src/db/UpnpDatabasePlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/UpnpDatabasePlugin.cxx b/src/db/UpnpDatabasePlugin.cxx
index abab93dcc..21b9e19f5 100644
--- a/src/db/UpnpDatabasePlugin.cxx
+++ b/src/db/UpnpDatabasePlugin.cxx
@@ -281,7 +281,7 @@ UpnpDatabase::SearchSongs(ContentDirectoryService &server,
if (selection.filter == nullptr)
return true;
- std::set<std::string> searchcaps;
+ std::list<std::string> searchcaps;
if (!server.getSearchCapabilities(m_lib->getclh(), searchcaps, error))
return false;