mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
Improve c++20 compatibility (#195)
This commit is contained in:
parent
2f9dd2e61a
commit
731e38ba24
@ -16,7 +16,7 @@ template <class T> class NTreeNode
|
||||
{
|
||||
public:
|
||||
// constructor
|
||||
NTreeNode<T>( T data );
|
||||
NTreeNode( T data );
|
||||
|
||||
NTreeNode<T> *PrependChild( NTreeNode<T> *node );
|
||||
NTreeNode<T> *AppendChild( NTreeNode<T> *node );
|
||||
|
@ -870,8 +870,8 @@ private:
|
||||
MUTEX_TYPE &m_lock;
|
||||
|
||||
// Disallow copying
|
||||
CAutoLockT<MUTEX_TYPE>( const CAutoLockT<MUTEX_TYPE> & );
|
||||
CAutoLockT<MUTEX_TYPE> &operator=( const CAutoLockT<MUTEX_TYPE> & );
|
||||
CAutoLockT( const CAutoLockT<MUTEX_TYPE> & );
|
||||
CAutoLockT &operator=( const CAutoLockT<MUTEX_TYPE> & );
|
||||
};
|
||||
|
||||
typedef CAutoLockT<CThreadMutex> CAutoLock;
|
||||
|
Loading…
Reference in New Issue
Block a user