mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: implicit cast scope name to C++-string in IOobject::scopedName - handles 'const char*' and allows a check for an empty scope name COMP: avoid potential name conflict in local function (Istream) - reportedly some resolution issues (unconfirmed) with Fujitsu clang
This commit is contained in:
@ -86,7 +86,10 @@ void Foam::functionObjects::solverInfo::createResidualField
|
||||
return;
|
||||
}
|
||||
|
||||
const word residualName("initialResidual:" + fieldName);
|
||||
const word residualName
|
||||
(
|
||||
IOobject::scopedName("initialResidual", fieldName)
|
||||
);
|
||||
|
||||
if (!mesh_.foundObject<IOField<scalar>>(residualName))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user