[ox/std] Fix resize to set null terminator

This commit is contained in:
Gary Talent 2024-05-23 01:27:59 -05:00
parent 660f2f5633
commit b882a47e58

View File

@ -194,6 +194,7 @@ class BasicString {
constexpr void resize(size_t sz) noexcept {
m_buff.resize(sz);
m_buff[sz - 1] = 0;
}
[[nodiscard]]