summaryrefslogtreecommitdiff
path: root/AK/StringBuilder.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-12-21 02:10:45 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-12-21 02:10:45 +0100
commitec1c487dcd7de331d17d9c9ccc21dfbfa00dd4c8 (patch)
tree797d0ec90846ece3c658d55f1507585c85d0b91f /AK/StringBuilder.cpp
parent89040cdc99d56e0a1a80b972db18d231c155ace0 (diff)
downloadserenity-ec1c487dcd7de331d17d9c9ccc21dfbfa00dd4c8.zip
Yet another pass of style fixes.
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();