Commit 95ad1b0c authored by Max Kellermann's avatar Max Kellermann Committed by Max Kellermann

use [[gnu::pure]] instead of gcc_pure

This is semi-standard and doesn't require the util/Compiler.h header.
parent 52f46b94
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment