From 1aa25ebf398733f3c069dd264bc6b27577c6a73d Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 9 Apr 2010 17:17:42 +0100 Subject: [PATCH] STYLE: use forAllConstIter instead of long-hand version --- src/OpenFOAM/global/argList/argList.C | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/OpenFOAM/global/argList/argList.C b/src/OpenFOAM/global/argList/argList.C index 0640d3d731..b3937e4495 100644 --- a/src/OpenFOAM/global/argList/argList.C +++ b/src/OpenFOAM/global/argList/argList.C @@ -756,12 +756,7 @@ void Foam::argList::printNotes() const if (!notes.empty()) { Info<< nl; - for - ( - SLList::const_iterator iter = notes.begin(); - iter != notes.end(); - ++iter - ) + forAllConstIter(SLList, notes, iter) { Info<< iter().c_str() << nl; }