mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Corrected ambiguous construction from tmp msgs (llvm/clang)
This commit is contained in:
@ -157,7 +157,7 @@ void Foam::ensightSetWriter<Type>::write
|
||||
<< "coordinates" << nl;
|
||||
for (direction cmpt = 0; cmpt < pTraits<Type>::nComponents; cmpt++)
|
||||
{
|
||||
const scalarField fld = valueSets[setI]->component(cmpt);
|
||||
const scalarField fld(valueSets[setI]->component(cmpt));
|
||||
forAll(fld, i)
|
||||
{
|
||||
if (mag(fld[i]) >= scalar(floatScalarVSMALL))
|
||||
@ -293,7 +293,7 @@ void Foam::ensightSetWriter<Type>::write
|
||||
cmpt++
|
||||
)
|
||||
{
|
||||
const scalarField fld = fieldVals[trackI].component(cmpt);
|
||||
const scalarField fld(fieldVals[trackI].component(cmpt));
|
||||
forAll(fld, i)
|
||||
{
|
||||
if (mag(fld[i]) >= scalar(floatScalarVSMALL))
|
||||
|
||||
Reference in New Issue
Block a user