mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-10 03:58:22 +00:00
Update CCopyableUtlVector to be compatible with clang (#170)
This commit is contained in:
parent
3600b56ccf
commit
fa4cf0f129
@ -516,7 +516,7 @@ public:
|
|||||||
CCopyableUtlVector( int growSize = 0, int initSize = 0 ) : BaseClass( growSize, initSize ) {}
|
CCopyableUtlVector( int growSize = 0, int initSize = 0 ) : BaseClass( growSize, initSize ) {}
|
||||||
CCopyableUtlVector( T* pMemory, int numElements ) : BaseClass( pMemory, numElements ) {}
|
CCopyableUtlVector( T* pMemory, int numElements ) : BaseClass( pMemory, numElements ) {}
|
||||||
virtual ~CCopyableUtlVector() {}
|
virtual ~CCopyableUtlVector() {}
|
||||||
CCopyableUtlVector( CCopyableUtlVector const& vec ) { CopyArray( vec.Base(), vec.Count() ); }
|
CCopyableUtlVector( CCopyableUtlVector const& vec ) { this->CopyArray( vec.Base(), vec.Count() ); }
|
||||||
};
|
};
|
||||||
|
|
||||||
// TODO (Ilya): It seems like all the functions in CUtlVector are simple enough that they should be inlined.
|
// TODO (Ilya): It seems like all the functions in CUtlVector are simple enough that they should be inlined.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user