mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:37:43 +00:00
Start fixing things up to build with a proper cross-compiler.
This commit is contained in:
parent
42342d2337
commit
6788dcdb58
4 changed files with 41 additions and 44 deletions
|
@ -8,7 +8,7 @@ namespace AK {
|
|||
inline void StringBuilder::will_append(size_t size)
|
||||
{
|
||||
if ((m_length + size) > m_buffer.size())
|
||||
m_buffer.grow(max(16u, m_buffer.size() * 2 + size));
|
||||
m_buffer.grow(max((size_t)16, m_buffer.size() * 2 + size));
|
||||
}
|
||||
|
||||
StringBuilder::StringBuilder(size_t initial_capacity)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue