We're not c++20 yet

Remove designated initializers
This commit is contained in:
Seth Hillbrand 2022-03-08 11:08:41 -08:00
parent 79517e44ce
commit 8d246dbee0
1 changed files with 4 additions and 1 deletions

View File

@ -1700,7 +1700,10 @@ int SCH_EDIT_TOOL::BreakWire( const TOOL_EVENT& aEvent )
m_frame->OnModify();
m_frame->GetCanvas()->Refresh();
SCH_MOVE_TOOL_PARAMS params = { .appendToLastUndo = true, .placingNewItems = false };
SCH_MOVE_TOOL_PARAMS params;
params.appendToLastUndo = true;
params.placingNewItems = false;
m_toolMgr->RunAction( EE_ACTIONS::drag, true, &params );
}