mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-08 02:58:24 +00: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>
|
template <class T, class LessFunc>
|
||||||
CUtlSortVector<T, LessFunc>::CUtlSortVector( int nGrowSize, int initSize ) :
|
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>
|
template <class T, class LessFunc>
|
||||||
CUtlSortVector<T, LessFunc>::CUtlSortVector( T* pMemory, int numElements ) :
|
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…
Reference in New Issue
Block a user