summaryrefslogtreecommitdiff
path: root/AK/StringBuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AK/StringBuilder.cpp')
-rw-r--r--AK/StringBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/StringBuilder.cpp b/AK/StringBuilder.cpp
index fec2b7e3e8..f3766cc250 100644
--- a/AK/StringBuilder.cpp
+++ b/AK/StringBuilder.cpp
@@ -20,7 +20,7 @@ void StringBuilder::append(char ch)
String StringBuilder::build()
{
auto strings = move(m_strings);
- if (strings.isEmpty())
+ if (strings.is_empty())
return String::empty();
size_t sizeNeeded = 0;
@@ -28,7 +28,7 @@ String StringBuilder::build()
sizeNeeded += string.length();
char* buffer;
- auto impl = StringImpl::createUninitialized(sizeNeeded, buffer);
+ auto impl = StringImpl::create_uninitialized(sizeNeeded, buffer);
if (!impl)
return String();