wxLog string arguement parsing assertion message fixes.
This commit is contained in:
parent
d6c6b4debb
commit
d8a74aa7af
|
@ -245,9 +245,9 @@ LIB_PART::LIB_PART( LIB_PART& aPart, PART_LIB* aLibrary ) :
|
||||||
LIB_PART::~LIB_PART()
|
LIB_PART::~LIB_PART()
|
||||||
{
|
{
|
||||||
wxLogTrace( traceSchLibMem,
|
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() ),
|
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,
|
// If the part is being deleted directly rather than through the library,
|
||||||
// delete all of the aliases.
|
// delete all of the aliases.
|
||||||
|
@ -1697,11 +1697,11 @@ LIB_ALIAS* LIB_PART::RemoveAlias( LIB_ALIAS* aAlias )
|
||||||
bool rename = aAlias->IsRoot();
|
bool rename = aAlias->IsRoot();
|
||||||
|
|
||||||
wxLogTrace( traceSchLibMem,
|
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( wxString::FromAscii( __WXFUNCTION__ ) ),
|
||||||
GetChars( m_name ),
|
GetChars( m_name ),
|
||||||
GetChars( aAlias->GetName() ),
|
GetChars( aAlias->GetName() ),
|
||||||
m_aliases.size(),
|
(long long unsigned) m_aliases.size(),
|
||||||
m_me.use_count() );
|
m_me.use_count() );
|
||||||
|
|
||||||
it = m_aliases.erase( it );
|
it = m_aliases.erase( it );
|
||||||
|
|
Loading…
Reference in New Issue