mirror of
https://github.com/ValveSoftware/GameNetworkingSockets.git
synced 2026-05-29 16:20:34 +00:00
Remove call to GetTypeName() from assert
Protobuf changed this somewhere along the way. It's not adding much value and this is the only call site, so deleting it is easier than making a compatibilty shim function.
This commit is contained in:
@@ -670,7 +670,7 @@ extern bool BSteamNetworkingIdentityToProtobufInternal( const SteamNetworkingIde
|
||||
#define SteamNetworkingIdentityToProtobuf( identity, msg, field_identity_string, field_identity_legacy_binary, field_legacy_steam_id ) \
|
||||
{ SteamDatagramErrMsg identityToProtobufErrMsg; \
|
||||
if ( !BSteamNetworkingIdentityToProtobuf( identity, msg, field_identity_string, field_identity_legacy_binary, field_legacy_steam_id, identityToProtobufErrMsg ) ) { \
|
||||
AssertMsg2( false, "Failed to serialize identity to %s message. %s", msg.GetTypeName().c_str(), identityToProtobufErrMsg ); \
|
||||
AssertMsg( false, "Failed to serialize identity to message. %s", identityToProtobufErrMsg ); \
|
||||
} \
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user