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())
|
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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user