From 303b3071e42d5d762f2fcae25843b67533e2e520 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 19 Nov 2018 11:32:53 +0100 Subject: [PATCH] db/UniqueTags: remove `pure` attribute because function may throw --- src/db/UniqueTags.hxx | 2 -- 1 file changed, 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 #include @@ -31,7 +30,6 @@ class TagMask; class Database; struct DatabaseSelection; -gcc_pure std::map> CollectUniqueTags(const Database &db, const DatabaseSelection &selection, TagType tag_type, TagType group);