mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Fix an obscure (but annoying) compil warning perhaps gcc 13 specific.
This commit is contained in:
parent
4d84bee6f6
commit
3a630fc5ab
@ -700,7 +700,9 @@ int KICAD_MANAGER_CONTROL::ShowPlayer( const TOOL_EVENT& aEvent )
|
||||
|
||||
if( !filepath.IsEmpty() )
|
||||
{
|
||||
if( !player->OpenProjectFiles( std::vector<wxString>( 1, filepath ) ) )
|
||||
std::vector<wxString> file_list{ filepath };
|
||||
|
||||
if( !player->OpenProjectFiles( file_list ) )
|
||||
{
|
||||
player->Destroy();
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user