1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:08:10 +00:00

AK+Everywhere: Rename Utf16View::to_utf8 to to_deprecated_string

A subsequent commit will add to_utf8 back to create an AK::String.
This commit is contained in:
Timothy Flynn 2023-01-08 18:46:02 -05:00 committed by Linus Groh
parent 2a70ea3ee7
commit d0403ec14f
8 changed files with 16 additions and 16 deletions

View file

@ -75,7 +75,7 @@ public:
No,
};
ErrorOr<DeprecatedString> to_utf8(AllowInvalidCodeUnits = AllowInvalidCodeUnits::No) const;
ErrorOr<DeprecatedString> to_deprecated_string(AllowInvalidCodeUnits = AllowInvalidCodeUnits::No) const;
bool is_null() const { return m_code_units.is_null(); }
bool is_empty() const { return m_code_units.is_empty(); }