1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 12:06:07 +08:00

Use V_memmove instead of memmove

This commit is contained in:
GAMMACASE
2025-08-08 16:41:27 +03:00
parent 13543fe483
commit e04ce6ecdf

View File

@ -869,7 +869,7 @@ void CUtlLeanVectorImpl<B, T, I>::ShiftElements( T* pDest, const T* pSrc, const
{
ptrdiff_t numToMove = pSrcEnd - pSrc;
if ( numToMove > 0 )
memmove( pDest, pSrc, numToMove * sizeof( T ) );
V_memmove( pDest, pSrc, numToMove * sizeof( T ) );
}
//-----------------------------------------------------------------------------