Initialize CBufferStringN::m_FixedData

This commit is contained in:
GAMMACASE 2025-01-16 13:22:50 +03:00
parent d18bab819c
commit 533426bc89

View File

@ -298,7 +298,7 @@ class CBufferStringN : public CBufferString
public:
static const size_t DATA_SIZE = ALIGN_VALUE( SIZE - sizeof( char[8] ), 8 );
CBufferStringN( bool bAllowHeapAllocation = true ) : CBufferString( DATA_SIZE, bAllowHeapAllocation ) {}
CBufferStringN( bool bAllowHeapAllocation = true ) : CBufferString( DATA_SIZE, bAllowHeapAllocation ), m_FixedData{} {}
CBufferStringN( const char *pString, bool bAllowHeapAllocation = true ) : CBufferStringN( bAllowHeapAllocation )
{
Insert( 0, pString );