summaryrefslogtreecommitdiff
path: root/Meta/Lagom
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-01-16 20:34:09 +0200
committerLinus Groh <mail@linusgroh.de>2022-01-17 14:46:07 +0000
commit877ae8501783d7b7000fc9645fb2b85a2938a73b (patch)
treedb81c57d24cb1cbf5a0d0bfc08319a47f78271c7 /Meta/Lagom
parent4774bed58940987e6182a7f1fc78e9b56fa3e5e9 (diff)
downloadserenity-877ae8501783d7b7000fc9645fb2b85a2938a73b.zip
LibJS+LibUnicode: Make static const Utf8View variables constexpr
Diffstat (limited to 'Meta/Lagom')
-rw-r--r--Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeNumberFormat.cpp2
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 };