db/UniqueTags: remove `pure` attribute because function may throw

This commit is contained in:
Max Kellermann 2018-11-19 11:32:53 +01:00
parent eb6d5f34fc
commit 303b3071e4
1 changed files with 0 additions and 2 deletions

View File

@ -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);