Formatting.

This commit is contained in:
Jeff Young 2022-10-24 22:38:53 +01:00
parent d6fca11419
commit d0d354872b
1 changed files with 20 additions and 18 deletions

View File

@ -47,7 +47,8 @@ class TREE_ITEM_DATA : public wxTreeItemData
public:
SCH_SHEET_PATH m_SheetPath;
TREE_ITEM_DATA( SCH_SHEET_PATH& sheet ) : wxTreeItemData()
TREE_ITEM_DATA( SCH_SHEET_PATH& sheet ) :
wxTreeItemData()
{
m_SheetPath = sheet;
}
@ -150,7 +151,8 @@ void HIERARCHY_NAVIG_PANEL::UpdateHierarchySelection()
m_events_bound = false;
}
std::function<void( const wxTreeItemId& )> selectSheet = [&]( const wxTreeItemId& id )
std::function<void( const wxTreeItemId& )> selectSheet =
[&]( const wxTreeItemId& id )
{
wxCHECK_RET( id.IsOk(), wxT( "Invalid tree item" ) );