mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 19:24:57 +00:00
LibJS+LibUnicode: Make static const Utf8View variables constexpr
This commit is contained in:
parent
4774bed589
commit
877ae85017
2 changed files with 2 additions and 2 deletions
|
@ -308,7 +308,7 @@ static ErrorOr<void> parse_number_system_digits(String core_supplemental_path, U
|
|||
|
||||
static String parse_identifiers(String pattern, StringView replacement, UnicodeLocaleData& locale_data, NumberFormat& format)
|
||||
{
|
||||
static Utf8View whitespace { "\u0020\u00a0\u200f"sv };
|
||||
static constexpr Utf8View whitespace { "\u0020\u00a0\u200f"sv };
|
||||
|
||||
while (true) {
|
||||
Utf8View utf8_pattern { pattern };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue