From aad754b945e253b43c6a0ef9182d22a1ff4c1d50 Mon Sep 17 00:00:00 2001 From: Kristian Klausen Date: Wed, 18 Jan 2017 23:16:49 +0100 Subject: [PATCH] utlmemory.h: Add missing template parameter (#31) --- public/tier1/utlmemory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/tier1/utlmemory.h b/public/tier1/utlmemory.h index 5fb2e9f2..ee7cc914 100644 --- a/public/tier1/utlmemory.h +++ b/public/tier1/utlmemory.h @@ -768,7 +768,7 @@ CUtlMemoryAligned::CUtlMemoryAligned( int nGrowSize, int nInitAll { UTLMEMORY_TRACK_ALLOC(); MEM_ALLOC_CREDIT_CLASS(); - CUtlMemory::m_pMemory = (T*)_aligned_malloc( nInitAllocationCount * sizeof(T), nAlignment ); + CUtlMemory::m_pMemory = (T*)_aligned_malloc( CUtlMemory::m_nAllocationCount * sizeof(T), nAlignment ); } }