mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
AK: Remove unused consteval workaround in String.h
The code using this macro was removed in fde26c53f0.
This commit is contained in:
1 parent
772b992aee
commit
978d6232a6
1 file changed
-8
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user