Skip to content

Commit 096c195

Browse files
committed
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.
1 parent 4eaadda commit 096c195

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/steamnetworkingsockets/steamnetworkingsockets_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ extern bool BSteamNetworkingIdentityToProtobufInternal( const SteamNetworkingIde
670670
#define SteamNetworkingIdentityToProtobuf( identity, msg, field_identity_string, field_identity_legacy_binary, field_legacy_steam_id ) \
671671
{ SteamDatagramErrMsg identityToProtobufErrMsg; \
672672
if ( !BSteamNetworkingIdentityToProtobuf( identity, msg, field_identity_string, field_identity_legacy_binary, field_legacy_steam_id, identityToProtobufErrMsg ) ) { \
673-
AssertMsg2( false, "Failed to serialize identity to %s message. %s", msg.GetTypeName().c_str(), identityToProtobufErrMsg ); \
673+
AssertMsg( false, "Failed to serialize identity to message. %s", identityToProtobufErrMsg ); \
674674
} \
675675
}
676676

0 commit comments

Comments
 (0)