Fix Eagle plugin build errors on macOS

Fixes: lp:1738865
* https://bugs.launchpad.net/kicad/+bug/1738865
This commit is contained in:
Bernhard Stegmaier 2017-12-19 13:32:07 +01:00 committed by Maciej Suminski
parent d4c8e1b5e9
commit 29e1d3d98a
1 changed files with 2 additions and 2 deletions

View File

@ -771,7 +771,7 @@ void EAGLE_PLUGIN::loadLibrary( wxXmlNode* aLib, const wxString* aLibName )
m_xpath->Value( pack_name.c_str() ); m_xpath->Value( pack_name.c_str() );
wxString key = aLibName ? makeKey( *aLibName, pack_name ) : pack_name; wxString key = aLibName ? makeKey( *aLibName, pack_name ) : wxString( pack_name );
MODULE* m = makeModule( package, pack_name ); MODULE* m = makeModule( package, pack_name );
@ -1721,7 +1721,7 @@ void EAGLE_PLUGIN::loadSignals( wxXmlNode* aSignals )
const wxString& netName = net->GetAttribute( "name" ); const wxString& netName = net->GetAttribute( "name" );
m_board->Add( new NETINFO_ITEM( m_board, netName, netCode ) ); m_board->Add( new NETINFO_ITEM( m_board, netName, netCode ) );
m_xpath->Value( netName ); m_xpath->Value( netName.c_str() );
// Get the first net item and iterate // Get the first net item and iterate
wxXmlNode* netItem = net->GetChildren(); wxXmlNode* netItem = net->GetChildren();