Commit 303b3071 authored by Max Kellermann's avatar Max Kellermann

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

parent eb6d5f34
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#define MPD_DB_UNIQUE_TAGS_HXX #define MPD_DB_UNIQUE_TAGS_HXX
#include "tag/Type.h" #include "tag/Type.h"
#include "util/Compiler.h"
#include <map> #include <map>
#include <set> #include <set>
...@@ -31,7 +30,6 @@ class TagMask; ...@@ -31,7 +30,6 @@ class TagMask;
class Database; class Database;
struct DatabaseSelection; struct DatabaseSelection;
gcc_pure
std::map<std::string, std::set<std::string>> std::map<std::string, std::set<std::string>>
CollectUniqueTags(const Database &db, const DatabaseSelection &selection, CollectUniqueTags(const Database &db, const DatabaseSelection &selection,
TagType tag_type, TagType group); TagType tag_type, TagType group);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment