Fix CBufferStringGrowable initialization order

This commit is contained in:
Nick Hastings 2023-09-27 19:56:15 -04:00
parent 924e0d9a67
commit 29e9027679

View File

@ -206,7 +206,7 @@ class CBufferStringGrowable : public CBufferString
friend class CBufferString;
public:
CBufferStringGrowable() : m_nAllocated(STACK_ALLOCATION_MARKER | (MAX_SIZE & LENGTH_MASK)), m_nTotalCount(0), m_Memory()
CBufferStringGrowable() : m_nTotalCount(0), m_nAllocated(STACK_ALLOCATION_MARKER | (MAX_SIZE & LENGTH_MASK)), m_Memory()
{
if (AllowHeapAllocation)
{