small fix to previous string commit

This commit is contained in:
Noel Berry 2022-12-05 20:03:46 -08:00 committed by GitHub
parent 916ddc2020
commit 90cb51110d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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