STYLE: use forAllConstIter instead of long-hand version

This commit is contained in:
andy
2010-04-09 17:17:42 +01:00
parent e8cfd92f9d
commit 1aa25ebf39

View File

@ -756,12 +756,7 @@ void Foam::argList::printNotes() const
if (!notes.empty()) if (!notes.empty())
{ {
Info<< nl; Info<< nl;
for forAllConstIter(SLList<string>, notes, iter)
(
SLList<string>::const_iterator iter = notes.begin();
iter != notes.end();
++iter
)
{ {
Info<< iter().c_str() << nl; Info<< iter().c_str() << nl;
} }