Non-const access to controls

This commit is contained in:
Hrvoje Jasak 2013-06-26 13:57:32 +01:00
parent fa313560d0
commit 82491a5f79

View file

@ -242,12 +242,13 @@ public:
return rootPath()/caseName(); return rootPath()/caseName();
} }
//- Return access to controlDict for editing //- Return access to controlDict
IOdictionary& controlDict() IOdictionary& controlDict()
{ {
return controlDict_; return controlDict_;
} }
//- Return controlDict
const dictionary& controlDict() const const dictionary& controlDict() const
{ {
return controlDict_; return controlDict_;