mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-07 09:43:40 +08: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( T* pMemory, int numElements ) : BaseClass( pMemory, numElements ) {}
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user