mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 04:26:03 +08:00
Use V_memmove instead of memmove
This commit is contained in:
@ -869,7 +869,7 @@ void CUtlLeanVectorImpl<B, T, I>::ShiftElements( T* pDest, const T* pSrc, const
|
|||||||
{
|
{
|
||||||
ptrdiff_t numToMove = pSrcEnd - pSrc;
|
ptrdiff_t numToMove = pSrcEnd - pSrc;
|
||||||
if ( numToMove > 0 )
|
if ( numToMove > 0 )
|
||||||
memmove( pDest, pSrc, numToMove * sizeof( T ) );
|
V_memmove( pDest, pSrc, numToMove * sizeof( T ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user