mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 12:42:34 +01:00
0 terminate fixed empty string. (#361)
This commit is contained in:
committed by
GitHub
parent
acc565e47e
commit
01cf049f97
@@ -242,6 +242,7 @@ namespace bx
|
||||
inline constexpr FixedStringT<MaxCapacityT>::FixedStringT()
|
||||
: m_len(0)
|
||||
{
|
||||
m_storage[0] = '\0';
|
||||
}
|
||||
|
||||
template<uint16_t MaxCapacityT>
|
||||
|
||||
Reference in New Issue
Block a user