1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-04 00:23:25 +08:00

Fixed tier2 and tier3 not compiling under C++20 (#112)

This commit is contained in:
SirWillian 2022-11-01 21:44:01 -03:00 committed by GitHub
parent ebb52ad77c
commit b3addd57ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -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();
}

View File

@ -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();
}