mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:37:44 +00:00
LibLocale: Remove now-unused [LanguageID,LocaleID]::to_deprecated_string
This commit is contained in:
parent
bb4b6d8ce3
commit
d901a9989d
2 changed files with 0 additions and 12 deletions
|
@ -948,11 +948,6 @@ ErrorOr<String> LanguageID::to_string() const
|
||||||
return builder.to_string();
|
return builder.to_string();
|
||||||
}
|
}
|
||||||
|
|
||||||
DeprecatedString LanguageID::to_deprecated_string() const
|
|
||||||
{
|
|
||||||
return MUST(to_string()).to_deprecated_string();
|
|
||||||
}
|
|
||||||
|
|
||||||
ErrorOr<String> LocaleID::to_string() const
|
ErrorOr<String> LocaleID::to_string() const
|
||||||
{
|
{
|
||||||
StringBuilder builder;
|
StringBuilder builder;
|
||||||
|
@ -1006,9 +1001,4 @@ ErrorOr<String> LocaleID::to_string() const
|
||||||
return builder.to_string();
|
return builder.to_string();
|
||||||
}
|
}
|
||||||
|
|
||||||
DeprecatedString LocaleID::to_deprecated_string() const
|
|
||||||
{
|
|
||||||
return MUST(to_string()).to_deprecated_string();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,6 @@ namespace Locale {
|
||||||
|
|
||||||
struct LanguageID {
|
struct LanguageID {
|
||||||
ErrorOr<String> to_string() const;
|
ErrorOr<String> to_string() const;
|
||||||
DeprecatedString to_deprecated_string() const;
|
|
||||||
bool operator==(LanguageID const&) const = default;
|
bool operator==(LanguageID const&) const = default;
|
||||||
|
|
||||||
bool is_root { false };
|
bool is_root { false };
|
||||||
|
@ -59,7 +58,6 @@ using Extension = AK::Variant<LocaleExtension, TransformedExtension, OtherExtens
|
||||||
|
|
||||||
struct LocaleID {
|
struct LocaleID {
|
||||||
ErrorOr<String> to_string() const;
|
ErrorOr<String> to_string() const;
|
||||||
DeprecatedString to_deprecated_string() const;
|
|
||||||
|
|
||||||
template<typename ExtensionType>
|
template<typename ExtensionType>
|
||||||
Vector<Extension> remove_extension_type()
|
Vector<Extension> remove_extension_type()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue