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