diff options
author | Max Kellermann <max.kellermann@gmail.com> | 2018-11-19 11:32:53 +0100 |
---|---|---|
committer | Max Kellermann <max.kellermann@gmail.com> | 2018-11-19 11:32:53 +0100 |
commit | 303b3071e42d5d762f2fcae25843b67533e2e520 (patch) | |
tree | a6f894694804bbc00603b1d90a493cf46d4de5a1 /src | |
parent | eb6d5f34fcea574e781214df8bcdcb7ce35ddee6 (diff) |
db/UniqueTags: remove `pure` attribute because function may throw
Diffstat (limited to 'src')
-rw-r--r-- | src/db/UniqueTags.hxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/db/UniqueTags.hxx b/src/db/UniqueTags.hxx index 7035ac617..dfcd1457d 100644 --- a/src/db/UniqueTags.hxx +++ b/src/db/UniqueTags.hxx @@ -21,7 +21,6 @@ #define MPD_DB_UNIQUE_TAGS_HXX #include "tag/Type.h" -#include "util/Compiler.h" #include <map> #include <set> @@ -31,7 +30,6 @@ class TagMask; class Database; struct DatabaseSelection; -gcc_pure std::map<std::string, std::set<std::string>> CollectUniqueTags(const Database &db, const DatabaseSelection &selection, TagType tag_type, TagType group); |