Formatting.
This commit is contained in:
parent
6bc00eabaf
commit
ea6fb84351
|
@ -1040,12 +1040,13 @@ int LINE::Rank() const
|
|||
{
|
||||
int min_rank = INT_MAX;
|
||||
|
||||
if( IsLinked() ) {
|
||||
for( auto s : m_links )
|
||||
if( IsLinked() )
|
||||
{
|
||||
min_rank = std::min( min_rank, s->Rank() );
|
||||
for( const LINKED_ITEM* item : m_links )
|
||||
min_rank = std::min( min_rank, item->Rank() );
|
||||
}
|
||||
} else {
|
||||
else
|
||||
{
|
||||
min_rank = m_rank;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue