mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:38:12 +00:00
Yet another pass of style fixes.
This commit is contained in:
parent
89040cdc99
commit
ec1c487dcd
43 changed files with 183 additions and 185 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue