mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-04 00:23:25 +08:00
Fix UtlSortVector member initialization order (#275)
This commit is contained in:
parent
16c1ee14de
commit
fc4b98f1a7
@ -120,13 +120,13 @@ private:
|
||||
//-----------------------------------------------------------------------------
|
||||
template <class T, class LessFunc>
|
||||
CUtlSortVector<T, LessFunc>::CUtlSortVector( int nGrowSize, int initSize ) :
|
||||
m_pLessContext(NULL), CUtlVector<T>( nGrowSize, initSize ), m_bNeedsSort( false )
|
||||
CUtlVector<T>( nGrowSize, initSize ), m_pLessContext(NULL), m_bNeedsSort( false )
|
||||
{
|
||||
}
|
||||
|
||||
template <class T, class LessFunc>
|
||||
CUtlSortVector<T, LessFunc>::CUtlSortVector( T* pMemory, int numElements ) :
|
||||
m_pLessContext(NULL), CUtlVector<T>( pMemory, numElements ), m_bNeedsSort( false )
|
||||
CUtlVector<T>( pMemory, numElements ), m_pLessContext(NULL), m_bNeedsSort( false )
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user