mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
Use V_swap (#307)
This commit is contained in:
@ -137,10 +137,10 @@ CUtlBlockMemory<T,I>::~CUtlBlockMemory()
|
|||||||
template< class T, class I >
|
template< class T, class I >
|
||||||
void CUtlBlockMemory<T,I>::Swap( CUtlBlockMemory< T, I > &mem )
|
void CUtlBlockMemory<T,I>::Swap( CUtlBlockMemory< T, I > &mem )
|
||||||
{
|
{
|
||||||
swap( m_pMemory, mem.m_pMemory );
|
V_swap( m_pMemory, mem.m_pMemory );
|
||||||
swap( m_nBlocks, mem.m_nBlocks );
|
V_swap( m_nBlocks, mem.m_nBlocks );
|
||||||
swap( m_nIndexMask, mem.m_nIndexMask );
|
V_swap( m_nIndexMask, mem.m_nIndexMask );
|
||||||
swap( m_nIndexShift, mem.m_nIndexShift );
|
V_swap( m_nIndexShift, mem.m_nIndexShift );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user