From 000384c65155a6eef4b25c980fec2262a751aa69 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Tue, 15 May 2018 16:57:53 +0100 Subject: [PATCH] MERGE: Clean-up --- src/foam/global/argList/argList.H | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/foam/global/argList/argList.H b/src/foam/global/argList/argList.H index 025ea05b8..c4cb16a02 100644 --- a/src/foam/global/argList/argList.H +++ b/src/foam/global/argList/argList.H @@ -53,7 +53,7 @@ Description The environment variable \b FOAM_CASE is set to the path of the global case (same for serial and parallel jobs). - The environment variable @b FOAM_CASENAME is set to the name of the + The environment variable \b FOAM_CASENAME is set to the name of the global case. Note @@ -69,6 +69,7 @@ Note SourceFiles argList.C + argListI.H \*---------------------------------------------------------------------------*/ @@ -83,6 +84,7 @@ SourceFiles #include "fileName.H" #include "parRun.H" #include "IStringStream.H" +#include "OSspecific.H" #include "sigFpe.H" #include "sigInt.H" @@ -258,7 +260,7 @@ public: // \deprecated use operator[] directly (deprecated Feb 2010) stringList::subList additionalArgs() const { - return args_; + return stringList::subList(args_, args_.size()-1, 1); } @@ -398,7 +400,6 @@ public: //- Check root path and case path bool checkRootCase() const; - };