mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
AK+Everywhere: Rename FlyString to DeprecatedFlyString
DeprecatedFlyString relies heavily on DeprecatedString's StringImpl, so let's rename it to A) match the name of DeprecatedString, B) write a new FlyString class that is tied to String.
This commit is contained in:
committed by
Linus Groh
parent
2eacc7aec1
commit
f3db548a3d
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <AK/CharacterTypes.h>
|
||||
#include <AK/FlyString.h>
|
||||
#include <AK/DeprecatedFlyString.h>
|
||||
#include <AK/HashTable.h>
|
||||
#include <AK/StringHash.h>
|
||||
#include <AK/StringImpl.h>
|
||||
@@ -32,7 +32,7 @@ StringImpl::StringImpl(ConstructWithInlineBufferTag, size_t length)
|
||||
StringImpl::~StringImpl()
|
||||
{
|
||||
if (m_fly)
|
||||
FlyString::did_destroy_impl({}, *this);
|
||||
DeprecatedFlyString::did_destroy_impl({}, *this);
|
||||
}
|
||||
|
||||
NonnullRefPtr<StringImpl> StringImpl::create_uninitialized(size_t length, char*& buffer)
|
||||
|
||||
Reference in New Issue
Block a user