diff --git a/public/tier1/utlleanvector.h b/public/tier1/utlleanvector.h index f7dc7141..b0124253 100644 --- a/public/tier1/utlleanvector.h +++ b/public/tier1/utlleanvector.h @@ -210,7 +210,7 @@ void CUtlLeanVectorBase::EnsureCapacity( int num, bool force ) T *pNew = nullptr; if(IsExternallyAllocated()) { - CAllocator::template Alloc( nNewAllocated, nNewAllocated ); + pNew = CAllocator::template Alloc( nNewAllocated, nNewAllocated ); V_memmove( pNew, Base(), m_nCount * sizeof( T ) ); } else