From 0defd927f3a483de56e0d768345bce9e7266be24 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 22 Jan 2014 21:41:05 +0100 Subject: db/upnp: use std::list instead of std::set for SearchCapabilities Reduce bloat. We never used the set lookup. --- src/db/UpnpDatabasePlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db/UpnpDatabasePlugin.cxx') 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 searchcaps; + std::list searchcaps; if (!server.getSearchCapabilities(m_lib->getclh(), searchcaps, error)) return false; -- cgit v1.2.3