mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use forAllIter, forAllConstIter in more places
ENH: change some iterator -> const_iterator access BUG: found some places with forAllIter and ::iterator !
This commit is contained in:
@ -50,7 +50,7 @@ void readFields
|
||||
label nFields = fields.size();
|
||||
fields.setSize(nFields + fieldObjects.size());
|
||||
|
||||
forAllIter(IOobjectList::iterator, fieldObjects, iter)
|
||||
forAllIter(IOobjectList, fieldObjects, iter)
|
||||
{
|
||||
if (selectedFields.empty() || selectedFields.found(iter()->name()))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user