Commit d8a74aa7 authored by Wayne Stambaugh's avatar Wayne Stambaugh
Browse files

wxLog string arguement parsing assertion message fixes.

parent d6c6b4de
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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 );