|
|
|
@ -245,9 +245,9 @@ LIB_PART::LIB_PART( LIB_PART& aPart, PART_LIB* aLibrary ) : |
|
|
|
LIB_PART::~LIB_PART() |
|
|
|
{ |
|
|
|
wxLogTrace( traceSchLibMem, |
|
|
|
wxT( "%s: destroying part '%s' with alias list count of %u." ), |
|
|
|
wxT( "%s: destroying part '%s' with alias list count of %llu." ), |
|
|
|
GetChars( wxString::FromAscii( __WXFUNCTION__ ) ), GetChars( GetName() ), |
|
|
|
m_aliases.size() ); |
|
|
|
(long long unsigned) m_aliases.size() ); |
|
|
|
|
|
|
|
// If the part is being deleted directly rather than through the library,
|
|
|
|
// delete all of the aliases.
|
|
|
|
@ -1697,11 +1697,11 @@ LIB_ALIAS* LIB_PART::RemoveAlias( LIB_ALIAS* aAlias ) |
|
|
|
bool rename = aAlias->IsRoot(); |
|
|
|
|
|
|
|
wxLogTrace( traceSchLibMem, |
|
|
|
wxT( "%s: part:'%s', alias:'%s', alias count %u, reference count %d." ), |
|
|
|
wxT( "%s: part:'%s', alias:'%s', alias count %llu, reference count %d." ), |
|
|
|
GetChars( wxString::FromAscii( __WXFUNCTION__ ) ), |
|
|
|
GetChars( m_name ), |
|
|
|
GetChars( aAlias->GetName() ), |
|
|
|
m_aliases.size(), |
|
|
|
(long long unsigned) m_aliases.size(), |
|
|
|
m_me.use_count() ); |
|
|
|
|
|
|
|
it = m_aliases.erase( it ); |
|
|
|
|