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())
{
Info<< nl;
for
(
SLList<string>::const_iterator iter = notes.begin();
iter != notes.end();
++iter
)
forAllConstIter(SLList<string>, notes, iter)
{
Info<< iter().c_str() << nl;
}