mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:57:34 +00:00
LibJS: Rename PrimitiveString::has_utf8_string to has_deprecated_string
And rename the member variable from m_utf8_string to m_deprecated_string to match.
This commit is contained in:
parent
79e81e8a15
commit
3a004e8f1a
2 changed files with 13 additions and 13 deletions
|
@ -35,7 +35,7 @@ public:
|
|||
u32 hash() const;
|
||||
|
||||
ThrowCompletionOr<DeprecatedString> deprecated_string() const;
|
||||
bool has_utf8_string() const { return m_utf8_string.has_value(); }
|
||||
bool has_deprecated_string() const { return m_deprecated_string.has_value(); }
|
||||
|
||||
ThrowCompletionOr<Utf16String> utf16_string() const;
|
||||
ThrowCompletionOr<Utf16View> utf16_string_view() const;
|
||||
|
@ -57,7 +57,7 @@ private:
|
|||
mutable PrimitiveString* m_lhs { nullptr };
|
||||
mutable PrimitiveString* m_rhs { nullptr };
|
||||
|
||||
mutable Optional<DeprecatedString> m_utf8_string;
|
||||
mutable Optional<DeprecatedString> m_deprecated_string;
|
||||
mutable Optional<Utf16String> m_utf16_string;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue