Fix CI build.

This commit is contained in:
Alex Shvartzkop 2023-08-15 06:55:32 +03:00
parent 9299d3516c
commit 918ada9b16
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ BOARD* PCB_TEST_FRAME_BASE::LoadAndDisplayBoard( const std::string& filename )
try
{
brd = pi->Load( wxString( filename.c_str() ), nullptr, nullptr );
brd = pi->LoadBoard( wxString( filename.c_str() ), nullptr, nullptr );
}
catch( const IO_ERROR& ioe )
{

View File

@ -393,7 +393,7 @@ bool PNS_LOG_FILE::Load( const wxFileName& logFileName, REPORTER* aRpt )
PCB_PLUGIN io;
aRpt->Report( wxString::Format( wxT("Loading board snapshot from '%s'"), fname_dump.GetFullPath() ) );
m_board.reset( io.Load( fname_dump.GetFullPath(), nullptr, nullptr ) );
m_board.reset( io.LoadBoard( fname_dump.GetFullPath(), nullptr, nullptr ) );
m_board->SetProject( project );
std::shared_ptr<DRC_ENGINE> drcEngine( new DRC_ENGINE );