Fix compile issue on gcc

This commit is contained in:
Seth Hillbrand 2021-07-30 15:13:34 -07:00
parent 8d6cd4ad99
commit 5155093ec0
2 changed files with 4 additions and 4 deletions

View File

@ -55,8 +55,8 @@ struct DRC_REGRESSION_TEST_FIXTURE
m_board = nullptr; m_board = nullptr;
} }
std::string boardPath = KI_TEST::GetPcbnewTestDataDir() + relPath + ".kicad_pcb"; std::string boardPath = KI_TEST::GetPcbnewTestDataDir() + relPath.ToStdString() + ".kicad_pcb";
wxString projectPath = KI_TEST::GetPcbnewTestDataDir() + relPath + ".kicad_pro"; wxString projectPath = KI_TEST::GetPcbnewTestDataDir() + relPath.ToStdString() + ".kicad_pro";
wxFileName pro( projectPath ); wxFileName pro( projectPath );

View File

@ -55,8 +55,8 @@ struct ZONE_FILL_TEST_FIXTURE
m_board = nullptr; m_board = nullptr;
} }
std::string boardPath = KI_TEST::GetPcbnewTestDataDir() + relPath + ".kicad_pcb"; std::string boardPath = KI_TEST::GetPcbnewTestDataDir() + relPath.ToStdString() + ".kicad_pcb";
wxString projectPath = KI_TEST::GetPcbnewTestDataDir() + relPath + ".kicad_pro"; wxString projectPath = KI_TEST::GetPcbnewTestDataDir() + relPath.ToStdString() + ".kicad_pro";
wxFileName pro( projectPath ); wxFileName pro( projectPath );