mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use forAllConstIter instead of long-hand version
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user