mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-03 16:13:22 +08:00
Fixed tier2 and tier3 not compiling under C++20 (#112)
This commit is contained in:
parent
ebb52ad77c
commit
b3addd57ec
@ -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();
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user