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:
Fletcher Dunn
2025-10-03 22:09:50 -07:00
parent cffc61f220
commit 2415ca502c
@@ -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 ); \
} \
}