mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: for-range, forAllIters() ... in applications/
- reduced clutter when iterating over containers
This commit is contained in:
committed by
Andrew Heather
parent
20da89f8f6
commit
170041aaf5
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd |
|
||||
\\ / A nd | Copyright (C) 2019 OpenCFD Ltd.
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
| Copyright (C) 2013-2015 OpenFOAM Foundation
|
||||
@ -179,7 +179,7 @@ void Foam::pointPairs<Triangulation>::reIndex(const Map<label>& oldToNewIndices)
|
||||
{
|
||||
pointPairs<Triangulation> newTable(triangulation_);
|
||||
|
||||
forAllConstIter(pointPairs, *this, iter)
|
||||
forAllConstIters(*this, iter)
|
||||
{
|
||||
labelPairPair e = iter.key();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user