Explicitly create wxString for return value.
This commit is contained in:
parent
2121227194
commit
9e9ee96181
|
@ -95,7 +95,7 @@ wxString SCH_PIN::GetName() const
|
||||||
if( !m_alt.IsEmpty() )
|
if( !m_alt.IsEmpty() )
|
||||||
return m_alt;
|
return m_alt;
|
||||||
|
|
||||||
return m_libPin ? m_libPin->GetName() : wxS( "??" );
|
return m_libPin ? m_libPin->GetName() : wxString( "??" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue