From 82491a5f790cf3d29edcdab263ce6828a94a0fc2 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 26 Jun 2013 13:57:32 +0100 Subject: [PATCH] Non-const access to controls --- src/OpenFOAM/db/Time/Time.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/OpenFOAM/db/Time/Time.H b/src/OpenFOAM/db/Time/Time.H index 77e1acbb3..f695a58aa 100644 --- a/src/OpenFOAM/db/Time/Time.H +++ b/src/OpenFOAM/db/Time/Time.H @@ -242,12 +242,13 @@ public: return rootPath()/caseName(); } - //- Return access to controlDict for editing + //- Return access to controlDict IOdictionary& controlDict() { return controlDict_; } + //- Return controlDict const dictionary& controlDict() const { return controlDict_;