diff --git a/src/util/MimeType.hxx b/src/util/MimeType.hxx index e607bc3e3..0c4a04b3e 100644 --- a/src/util/MimeType.hxx +++ b/src/util/MimeType.hxx @@ -30,8 +30,6 @@ #ifndef MIME_TYPE_HXX #define MIME_TYPE_HXX -#include "util/Compiler.h" - #include #include #include @@ -41,7 +39,7 @@ * part before the semicolon. If there is no semicolon, it returns * the string as-is. */ -gcc_pure +[[gnu::pure]] std::string_view GetMimeTypeBase(std::string_view s) noexcept;