mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-07-15 22:09:58 +00:00
first try at fixing macos build
This commit is contained in:
parent
29985681a1
commit
1f6470477e
@ -1152,7 +1152,7 @@ inline void CDmaElement<T>::Init( CDmElement *pOwner, const char *pAttributeName
|
|||||||
template <class T>
|
template <class T>
|
||||||
inline UtlSymId_t CDmaElement<T>::GetElementType() const
|
inline UtlSymId_t CDmaElement<T>::GetElementType() const
|
||||||
{
|
{
|
||||||
return this->Data().m_ElementType;
|
return this->Get().m_ElementType;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
|
|||||||
@ -134,13 +134,15 @@ CUtlBlockMemory<T,I>::~CUtlBlockMemory()
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// Fast swap
|
// Fast swap
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
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 )
|
||||||
{
|
{
|
||||||
this->swap( m_pMemory, mem.m_pMemory );
|
std::swap( m_pMemory, mem.m_pMemory );
|
||||||
this->swap( m_nBlocks, mem.m_nBlocks );
|
std::swap( m_nBlocks, mem.m_nBlocks );
|
||||||
this->swap( m_nIndexMask, mem.m_nIndexMask );
|
std::swap( m_nIndexMask, mem.m_nIndexMask );
|
||||||
this->swap( m_nIndexShift, mem.m_nIndexShift );
|
std::swap( m_nIndexShift, mem.m_nIndexShift );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user