Commit ceb54d68 authored by Mark Olesen's avatar Mark Olesen

STYLE: avoid deprecated method

parent fac3079e
...@@ -149,7 +149,7 @@ bool Foam::functionObjects::catalystFunctionObject::read(const dictionary& dict) ...@@ -149,7 +149,7 @@ bool Foam::functionObjects::catalystFunctionObject::read(const dictionary& dict)
{ {
functionObject::read(dict); functionObject::read(dict);
const dictionary* inputDictPtr = dict.subDictPtr("inputs"); const dictionary* inputDictPtr = dict.findDict("inputs");
if (!inputDictPtr || inputDictPtr->empty()) if (!inputDictPtr || inputDictPtr->empty())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment