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

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
@ -385,4 +386,4 @@ namespace std
return result;
}
};
}
}