summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/MimeType.hxx4
1 files changed, 1 insertions, 3 deletions
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 <string>
#include <string_view>
#include <map>
@@ -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;