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:
Mark Olesen
2010-04-13 09:10:36 +02:00
parent 5636df2b5a
commit 874120350c
37 changed files with 139 additions and 338 deletions

View File

@ -506,7 +506,7 @@ void Foam::domainDecomposition::decomposeMesh()
// Add internal and boundary faces
// Remember to increment the index by one such that the
// turning index works properly.
forAllIter(SLList<label>, curProcFaces, curProcFacesIter)
forAllConstIter(SLList<label>, curProcFaces, curProcFacesIter)
{
curProcFaceAddressing[nFaces] = curProcFacesIter() + 1;
nFaces++;
@ -559,7 +559,7 @@ void Foam::domainDecomposition::decomposeMesh()
// add faces for this processor boundary
forAllIter
forAllConstIter
(
SLList<label>,
curInterProcBFacesIter(),