Commit 40e4f8a2 authored by Mark Olesen's avatar Mark Olesen Committed by Andrew Heather
Browse files

STYLE: use labelUList instead of labelList for ListOps::identity

parent cf916554
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment