Explicitly create wxString for return value.

This commit is contained in:
Wayne Stambaugh 2024-02-09 17:11:49 -05:00
parent 2121227194
commit 9e9ee96181
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ wxString SCH_PIN::GetName() const
if( !m_alt.IsEmpty() )
return m_alt;
return m_libPin ? m_libPin->GetName() : wxS( "??" );
return m_libPin ? m_libPin->GetName() : wxString( "??" );
}