mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 07:17:35 +00:00
LibJS: Make PrimitiveString::resolve_rope_if_needed() infallible
Work towards #20449.
This commit is contained in:
parent
1a27c525d5
commit
9708b86d65
2 changed files with 25 additions and 26 deletions
|
@ -63,7 +63,7 @@ private:
|
|||
UTF8,
|
||||
UTF16,
|
||||
};
|
||||
ThrowCompletionOr<void> resolve_rope_if_needed(EncodingPreference) const;
|
||||
void resolve_rope_if_needed(EncodingPreference) const;
|
||||
|
||||
mutable bool m_is_rope { false };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue