mirror of
https://github.com/NoelFB/blah.git
synced 2024-11-28 16:58:57 +08:00
small fix to previous string commit
This commit is contained in:
parent
916ddc2020
commit
90cb51110d
|
@ -140,6 +140,7 @@ namespace Blah
|
|||
m_heap_buffer.erase(new_length, s_len() - new_length);
|
||||
else
|
||||
m_stack_buffer.erase(new_length, s_len() - new_length);
|
||||
s_ptr()[new_length - 1] = '\0';
|
||||
}
|
||||
|
||||
StackString trim() const
|
||||
|
|
Loading…
Reference in New Issue
Block a user