Fix compile issue on gcc
This commit is contained in:
parent
8d6cd4ad99
commit
5155093ec0
|
@ -55,8 +55,8 @@ struct DRC_REGRESSION_TEST_FIXTURE
|
|||
m_board = nullptr;
|
||||
}
|
||||
|
||||
std::string boardPath = KI_TEST::GetPcbnewTestDataDir() + relPath + ".kicad_pcb";
|
||||
wxString projectPath = KI_TEST::GetPcbnewTestDataDir() + relPath + ".kicad_pro";
|
||||
std::string boardPath = KI_TEST::GetPcbnewTestDataDir() + relPath.ToStdString() + ".kicad_pcb";
|
||||
wxString projectPath = KI_TEST::GetPcbnewTestDataDir() + relPath.ToStdString() + ".kicad_pro";
|
||||
|
||||
wxFileName pro( projectPath );
|
||||
|
||||
|
|
|
@ -55,8 +55,8 @@ struct ZONE_FILL_TEST_FIXTURE
|
|||
m_board = nullptr;
|
||||
}
|
||||
|
||||
std::string boardPath = KI_TEST::GetPcbnewTestDataDir() + relPath + ".kicad_pcb";
|
||||
wxString projectPath = KI_TEST::GetPcbnewTestDataDir() + relPath + ".kicad_pro";
|
||||
std::string boardPath = KI_TEST::GetPcbnewTestDataDir() + relPath.ToStdString() + ".kicad_pcb";
|
||||
wxString projectPath = KI_TEST::GetPcbnewTestDataDir() + relPath.ToStdString() + ".kicad_pro";
|
||||
|
||||
wxFileName pro( projectPath );
|
||||
|
||||
|
|
Loading…
Reference in New Issue