diff --git a/src/tag/Settings.hxx b/src/tag/Settings.hxx index de7af7aed..9ba9989b4 100644 --- a/src/tag/Settings.hxx +++ b/src/tag/Settings.hxx @@ -22,18 +22,17 @@ #include "Mask.hxx" #include "Type.h" -#include "util/Compiler.h" extern TagMask global_tag_mask; -gcc_const +[[gnu::const]] static inline bool IsTagEnabled(TagType tag) noexcept { return global_tag_mask.Test(tag); } -gcc_const +[[gnu::const]] static inline bool IsTagEnabled(unsigned tag) noexcept {