mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:18:12 +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:
parent
2a70ea3ee7
commit
d0403ec14f
8 changed files with 16 additions and 16 deletions
|
@ -104,7 +104,7 @@ Utf16View Utf16String::substring_view(size_t code_unit_offset) const
|
|||
|
||||
ThrowCompletionOr<DeprecatedString> Utf16String::to_utf8(VM& vm) const
|
||||
{
|
||||
return TRY_OR_THROW_OOM(vm, view().to_utf8(Utf16View::AllowInvalidCodeUnits::Yes));
|
||||
return TRY_OR_THROW_OOM(vm, view().to_deprecated_string(Utf16View::AllowInvalidCodeUnits::Yes));
|
||||
}
|
||||
|
||||
u16 Utf16String::code_unit_at(size_t index) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue