Yet another pass of style fixes.

This commit is contained in:
Andreas Kling
2018-12-21 02:10:45 +01:00
parent 89040cdc99
commit ec1c487dcd
43 changed files with 183 additions and 185 deletions

View File

@@ -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();