1
Fork 0
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:
Andreas Kling 2023-08-08 18:34:19 +02:00
parent 1a27c525d5
commit 9708b86d65
2 changed files with 25 additions and 26 deletions

View file

@ -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 };