STYLE: use labelUList instead of labelList for ListOps::identity
This commit is contained in:
parent
cf91655422
commit
40e4f8a293
@ -160,7 +160,7 @@ void Foam::inplaceReorder
|
||||
}
|
||||
|
||||
|
||||
void Foam::ListOps::identity(labelList& map, label start)
|
||||
void Foam::ListOps::identity(labelUList& map, label start)
|
||||
{
|
||||
std::iota(map.begin(), map.end(), start);
|
||||
}
|
||||
|
@ -586,7 +586,7 @@ struct greater
|
||||
|
||||
//- Set identity map with (map[i] == i)
|
||||
// Optionally with an alternative start index, so that (map[i] == i+start)
|
||||
void identity(labelList& map, label start=0);
|
||||
void identity(labelUList& map, label start=0);
|
||||
|
||||
|
||||
//- Find index of the first occurrence that satisfies the predicate.
|
||||
|
Loading…
Reference in New Issue
Block a user