db/UniqueTags: remove pure
attribute because function may throw
This commit is contained in:
@@ -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;
|
|||||||
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);
|
||||||
|
Reference in New Issue
Block a user