mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 04:13:11 +00:00
AK: Use constexpr instead of consteval on OpenBSD
This commit is contained in:
parent
e5dea00bb1
commit
c31b547fae
|
@ -28,8 +28,8 @@ namespace Detail {
|
|||
class StringData;
|
||||
}
|
||||
|
||||
// FIXME: Remove this when Apple Clang fully supports consteval.
|
||||
#if defined(AK_OS_MACOS)
|
||||
// FIXME: Remove this when Apple Clang and OpenBSD Clang fully supports consteval.
|
||||
#if defined(AK_OS_MACOS) || defined(AK_OS_OPENBSD)
|
||||
# define AK_SHORT_STRING_CONSTEVAL constexpr
|
||||
#else
|
||||
# define AK_SHORT_STRING_CONSTEVAL consteval
|
||||
|
|
Loading…
Reference in a new issue