diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-01-16 20:34:09 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-17 14:46:07 +0000 |
commit | 877ae8501783d7b7000fc9645fb2b85a2938a73b (patch) | |
tree | db81c57d24cb1cbf5a0d0bfc08319a47f78271c7 /Meta | |
parent | 4774bed58940987e6182a7f1fc78e9b56fa3e5e9 (diff) | |
download | serenity-877ae8501783d7b7000fc9645fb2b85a2938a73b.zip |
LibJS+LibUnicode: Make static const Utf8View variables constexpr
Diffstat (limited to 'Meta')
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeNumberFormat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeNumberFormat.cpp b/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeNumberFormat.cpp index 605f9d21e5..715a3e3dc9 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeNumberFormat.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeNumberFormat.cpp @@ -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 }; |