STYLE: use forAllConstIter instead of long-hand version
This commit is contained in:
parent
e8cfd92f9d
commit
1aa25ebf39
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user