From 29e902767953a9aff22666e92663e833d9ae587b Mon Sep 17 00:00:00 2001 From: Nick Hastings Date: Wed, 27 Sep 2023 19:56:15 -0400 Subject: [PATCH] Fix CBufferStringGrowable initialization order --- public/tier1/bufferstring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/tier1/bufferstring.h b/public/tier1/bufferstring.h index d2d78da5..fc3c0660 100644 --- a/public/tier1/bufferstring.h +++ b/public/tier1/bufferstring.h @@ -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) {