mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: avoid ambiguous construct from tmp - mesh, meshTools
This commit is contained in:
@ -652,7 +652,8 @@ Foam::scalarField Foam::autoSnapDriver::calcSnapDistance
|
||||
-GREAT // null value
|
||||
);
|
||||
|
||||
return snapParams.snapTol()*maxEdgeLen;
|
||||
tmp<scalarField> tfld = snapParams.snapTol()*maxEdgeLen;
|
||||
return tfld();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user