AK: Remove unused consteval workaround in String.h

The code using this macro was removed in fde26c53f0.
This commit is contained in:
Sönke Holz authored and Nico Weber committed 2026-02-03 22:09:22 -05:00
1 parent 772b992aee
commit 978d6232a6
1 file changed
-8
-8
View File
@@ -30,14 +30,6 @@
namespace AK {
// FIXME: Remove this when OpenBSD Clang fully supports consteval.
// And once oss-fuzz updates to clang >15.
#if defined(AK_OS_OPENBSD) || defined(OSS_FUZZ)
# define AK_SHORT_STRING_CONSTEVAL constexpr
#else
# define AK_SHORT_STRING_CONSTEVAL consteval
#endif
// String is a strongly owned sequence of Unicode code points encoded as UTF-8.
// The data may or may not be heap-allocated, and may or may not be reference counted.
// There is no guarantee that the underlying bytes are null-terminated.