From f7ed6a0086f24f23098afaaf840dc5ae27afef1a Mon Sep 17 00:00:00 2001 From: Nukoooo <89713806+Nukoooo@users.noreply.github.com> Date: Wed, 8 May 2024 19:48:53 +0800 Subject: [PATCH] Fix compilation error on GCC12+ with C++20 (#237) --- public/tier0/threadtools.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/tier0/threadtools.h b/public/tier0/threadtools.h index efde3601..2efd34db 100644 --- a/public/tier0/threadtools.h +++ b/public/tier0/threadtools.h @@ -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( const CAutoLockT & ); - CAutoLockT &operator=( const CAutoLockT & ); + CAutoLockT( const CAutoLockT & ); + CAutoLockT &operator=( const CAutoLockT & ); }; typedef CAutoLockT CAutoLock;