SingleMode: convert "pure" to "const"

This commit is contained in:
Max Kellermann 2021-12-03 16:09:16 +01:00
parent 3452682a42
commit 4e9b88559b

View File

@ -31,7 +31,7 @@ enum class SingleMode : uint8_t {
/** /**
* Return the string representation of a #SingleMode. * Return the string representation of a #SingleMode.
*/ */
[[gnu::pure]] [[gnu::const]]
const char * const char *
SingleToString(SingleMode mode) noexcept; SingleToString(SingleMode mode) noexcept;