mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-07 10:38:23 +00:00
Initialize CBufferStringN::m_FixedData
This commit is contained in:
parent
d18bab819c
commit
533426bc89
@ -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 );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user