summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibLocale/Locale.h
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2023-02-05 19:02:54 +0000
committerLinus Groh <mail@linusgroh.de>2023-02-08 19:15:45 +0000
commit63b11030f03e5a0fd06d9c8cfa788da0388096d8 (patch)
tree3ea0fa1e751683b643c71da95b6ecf98a97508cf /Userland/Libraries/LibLocale/Locale.h
parent1c92e6ee9d1f686f20f37445150d63ae474b7e9b (diff)
downloadserenity-63b11030f03e5a0fd06d9c8cfa788da0388096d8.zip
Everywhere: Use ReadonlySpan<T> instead of Span<T const>
Diffstat (limited to 'Userland/Libraries/LibLocale/Locale.h')
-rw-r--r--Userland/Libraries/LibLocale/Locale.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Userland/Libraries/LibLocale/Locale.h b/Userland/Libraries/LibLocale/Locale.h
index 8cae475773..28dec294eb 100644
--- a/Userland/Libraries/LibLocale/Locale.h
+++ b/Userland/Libraries/LibLocale/Locale.h
@@ -146,14 +146,14 @@ ErrorOr<Optional<String>> canonicalize_unicode_locale_id(LocaleID&);
StringView default_locale();
bool is_locale_available(StringView locale);
-Span<StringView const> get_available_keyword_values(StringView key);
-Span<StringView const> get_available_calendars();
-Span<StringView const> get_available_collation_case_orderings();
-Span<StringView const> get_available_collation_numeric_orderings();
-Span<StringView const> get_available_collation_types();
-Span<StringView const> get_available_currencies();
-Span<StringView const> get_available_hour_cycles();
-Span<StringView const> get_available_number_systems();
+ReadonlySpan<StringView> get_available_keyword_values(StringView key);
+ReadonlySpan<StringView> get_available_calendars();
+ReadonlySpan<StringView> get_available_collation_case_orderings();
+ReadonlySpan<StringView> get_available_collation_numeric_orderings();
+ReadonlySpan<StringView> get_available_collation_types();
+ReadonlySpan<StringView> get_available_currencies();
+ReadonlySpan<StringView> get_available_hour_cycles();
+ReadonlySpan<StringView> get_available_number_systems();
Style style_from_string(StringView style);
StringView style_to_string(Style style);