diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-12-21 02:10:45 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-12-21 02:10:45 +0100 |
commit | ec1c487dcd7de331d17d9c9ccc21dfbfa00dd4c8 (patch) | |
tree | 797d0ec90846ece3c658d55f1507585c85d0b91f /AK/StringBuilder.cpp | |
parent | 89040cdc99d56e0a1a80b972db18d231c155ace0 (diff) | |
download | serenity-ec1c487dcd7de331d17d9c9ccc21dfbfa00dd4c8.zip |
Yet another pass of style fixes.
Diffstat (limited to 'AK/StringBuilder.cpp')
-rw-r--r-- | AK/StringBuilder.cpp | 4 |
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(); |