From b3addd57ec0304e03b8a52a5f1f869609538df0a Mon Sep 17 00:00:00 2001 From: SirWillian Date: Tue, 1 Nov 2022 21:44:01 -0300 Subject: [PATCH] Fixed tier2 and tier3 not compiling under C++20 (#112) --- public/tier2/tier2.h | 6 +++--- public/tier3/tier3.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/tier2/tier2.h b/public/tier2/tier2.h index 8f71c525..ecbec1d7 100644 --- a/public/tier2/tier2.h +++ b/public/tier2/tier2.h @@ -1,4 +1,4 @@ -//===== Copyright © 2005-2005, Valve Corporation, All rights reserved. ======// +//===== Copyright © 2005-2005, Valve Corporation, All rights reserved. ======// // // Purpose: A higher level link library for general use in the game and tools. // @@ -84,7 +84,7 @@ public: if ( !BaseClass::Connect( factory ) ) return false; - if ( IsPrimaryAppSystem() ) + if ( BaseClass::IsPrimaryAppSystem() ) { ConnectTier2Libraries( &factory, 1 ); } @@ -93,7 +93,7 @@ public: virtual void Disconnect() { - if ( IsPrimaryAppSystem() ) + if ( BaseClass::IsPrimaryAppSystem() ) { DisconnectTier2Libraries(); } diff --git a/public/tier3/tier3.h b/public/tier3/tier3.h index e51900a8..b6e5d532 100644 --- a/public/tier3/tier3.h +++ b/public/tier3/tier3.h @@ -1,4 +1,4 @@ -//===== Copyright © 2005-2005, Valve Corporation, All rights reserved. ======// +//===== Copyright © 2005-2005, Valve Corporation, All rights reserved. ======// // // Purpose: A higher level link library for general use in the game and tools. // @@ -74,7 +74,7 @@ public: if ( !BaseClass::Connect( factory ) ) return false; - if ( IsPrimaryAppSystem() ) + if ( BaseClass::IsPrimaryAppSystem() ) { ConnectTier3Libraries( &factory, 1 ); } @@ -83,7 +83,7 @@ public: virtual void Disconnect() { - if ( IsPrimaryAppSystem() ) + if ( BaseClass::IsPrimaryAppSystem() ) { DisconnectTier3Libraries(); }