mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:17:35 +00:00
AK: Make Deprecated{Fly,}String and StringImpl const-correct
This commit is contained in:
parent
4b3e229157
commit
a56dfd5c77
5 changed files with 27 additions and 28 deletions
|
@ -29,7 +29,7 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
static DeprecatedFlyString from_fly_impl(NonnullRefPtr<StringImpl> impl)
|
||||
static DeprecatedFlyString from_fly_impl(NonnullRefPtr<StringImpl const> impl)
|
||||
{
|
||||
VERIFY(impl->is_fly());
|
||||
DeprecatedFlyString string;
|
||||
|
@ -91,7 +91,7 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
RefPtr<StringImpl> m_impl;
|
||||
RefPtr<StringImpl const> m_impl;
|
||||
};
|
||||
|
||||
template<>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue