Formatting.
This commit is contained in:
parent
815c2c69e7
commit
e92efebb5f
|
@ -964,7 +964,7 @@ struct VIEW::DRAW_ITEM_VISITOR
|
||||||
[]( VIEW_ITEM* a, VIEW_ITEM* b ) -> bool
|
[]( VIEW_ITEM* a, VIEW_ITEM* b ) -> bool
|
||||||
{
|
{
|
||||||
return b->viewPrivData()->m_drawPriority < a->viewPrivData()->m_drawPriority;
|
return b->viewPrivData()->m_drawPriority < a->viewPrivData()->m_drawPriority;
|
||||||
});
|
} );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -972,7 +972,7 @@ struct VIEW::DRAW_ITEM_VISITOR
|
||||||
[]( VIEW_ITEM* a, VIEW_ITEM* b ) -> bool
|
[]( VIEW_ITEM* a, VIEW_ITEM* b ) -> bool
|
||||||
{
|
{
|
||||||
return a->viewPrivData()->m_drawPriority < b->viewPrivData()->m_drawPriority;
|
return a->viewPrivData()->m_drawPriority < b->viewPrivData()->m_drawPriority;
|
||||||
});
|
} );
|
||||||
}
|
}
|
||||||
|
|
||||||
for( VIEW_ITEM* item : drawItems )
|
for( VIEW_ITEM* item : drawItems )
|
||||||
|
|
|
@ -150,7 +150,9 @@ void SYMBOL_LIB::GetSymbols( std::vector<LIB_SYMBOL*>& aSymbols ) const
|
||||||
|
|
||||||
std::sort( aSymbols.begin(), aSymbols.end(),
|
std::sort( aSymbols.begin(), aSymbols.end(),
|
||||||
[](LIB_SYMBOL *lhs, LIB_SYMBOL *rhs) -> bool
|
[](LIB_SYMBOL *lhs, LIB_SYMBOL *rhs) -> bool
|
||||||
{ return lhs->GetName() < rhs->GetName(); });
|
{
|
||||||
|
return lhs->GetName() < rhs->GetName();
|
||||||
|
} );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue