1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:47:35 +00:00

LibUnicode: Remove obsolete Unicode::get_default_number_system

This has been superseded by get_preferred_keyword_value_for_locale,
which doesn't require allocating a Vector just to return its first
element.
This commit is contained in:
Timothy Flynn 2022-07-14 13:26:16 -04:00 committed by Andreas Kling
parent c657f23e6f
commit 998f62936b
3 changed files with 1 additions and 10 deletions

View file

@ -58,8 +58,6 @@ enum class NumericSymbol : u8 {
TimeSeparator,
};
Optional<StringView> get_default_number_system(StringView locale);
Optional<StringView> get_number_system_symbol(StringView locale, StringView system, NumericSymbol symbol);
Optional<NumberGroupings> get_number_system_groupings(StringView locale, StringView system);