mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-04 00:23:25 +08:00
Fix compilation error on GCC12+ with C++20 (#237)
This commit is contained in:
parent
31f997208e
commit
f7ed6a0086
@ -1,4 +1,4 @@
|
||||
//========== Copyright © 2005, Valve Corporation, All rights reserved. ========
|
||||
//========== Copyright © 2005, Valve Corporation, All rights reserved. ========
|
||||
//
|
||||
// Purpose: A collection of utility classes to simplify thread handling, and
|
||||
// as much as possible contain portability problems. Here avoiding
|
||||
@ -929,8 +929,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…
x
Reference in New Issue
Block a user