Fix for clang not being lazy about template expansion
This commit is contained in:
@@ -137,11 +137,6 @@ namespace Multiplayer
|
||||
return AZ::Interface<IMultiplayer>::Get();
|
||||
}
|
||||
|
||||
inline INetworkTime* GetNetworkTime()
|
||||
{
|
||||
return AZ::Interface<INetworkTime>::Get();
|
||||
}
|
||||
|
||||
inline INetworkEntityManager* GetNetworkEntityManager()
|
||||
{
|
||||
IMultiplayer* multiplayer = GetMultiplayer();
|
||||
|
||||
@@ -83,4 +83,10 @@ namespace Multiplayer
|
||||
static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single;
|
||||
};
|
||||
using INetworkTimeRequestBus = AZ::EBus<INetworkTime, INetworkTimeRequests>;
|
||||
|
||||
// Convenience helpers
|
||||
inline INetworkTime* GetNetworkTime()
|
||||
{
|
||||
return AZ::Interface<INetworkTime>::Get();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user