Commit 4e9b8855 authored by Max Kellermann's avatar Max Kellermann

SingleMode: convert "pure" to "const"

parent 3452682a
......@@ -31,7 +31,7 @@ enum class SingleMode : uint8_t {
/**
* Return the string representation of a #SingleMode.
*/
[[gnu::pure]]
[[gnu::const]]
const char *
SingleToString(SingleMode mode) 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