Don't write opaque data types to PNS log.

This commit is contained in:
Jeff Young 2023-08-24 11:53:12 +01:00
parent eb8c1d2a90
commit 6040f49272
1 changed files with 1 additions and 6 deletions

View File

@ -289,12 +289,7 @@ const std::string ITEM::Format() const
{
std::stringstream ss;
ss << KindStr() << " ";
if( Parent() && Parent()->IsConnected() )
ss << "net " << static_cast<BOARD_CONNECTED_ITEM*>( Parent() )->GetNetCode() << " ";
else
ss << "net " << Net() << " ";
ss << "net " << OwningNode()->GetRuleResolver()->NetCode( Net() ) << " ";
ss << "layers " << m_layers.Start() << " " << m_layers.End();
return ss.str();
}