STYLE: remove local version of momentum::scopedName

BUG: incorrect return for unscoped functionObject name
This commit is contained in:
Mark Olesen
2021-12-07 15:36:23 +01:00
parent b25e1486de
commit 65bc8d1140
3 changed files with 3 additions and 12 deletions

View File

@ -53,7 +53,7 @@ Foam::word Foam::functionObject::scopedName(const word& name) const
return IOobject::scopedName(name_, name);
}
return name_;
return name;
}