summaryrefslogtreecommitdiff
path: root/AK/StringImpl.cpp
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2023-01-08 19:23:00 -0500
committerLinus Groh <mail@linusgroh.de>2023-01-09 23:00:24 +0000
commitf3db548a3d068c051c4d6eba970b89422a6b9522 (patch)
treedf8846e5699175b425ca8d07b7b6350c0a04dcf7 /AK/StringImpl.cpp
parent2eacc7aec1b2b1cc5a491727baa75817ca819bc5 (diff)
downloadserenity-f3db548a3d068c051c4d6eba970b89422a6b9522.zip
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.
Diffstat (limited to 'AK/StringImpl.cpp')
-rw-r--r--AK/StringImpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/StringImpl.cpp b/AK/StringImpl.cpp
index 76cc66e431..56f2cc73de 100644
--- a/AK/StringImpl.cpp
+++ b/AK/StringImpl.cpp
@@ -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)