mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: reference bound to a temporary
This commit is contained in:
@ -49,7 +49,7 @@ Foam::PatchTools::sortedEdgeFaces
|
|||||||
const Field<PointType>& localPoints = p.localPoints();
|
const Field<PointType>& localPoints = p.localPoints();
|
||||||
|
|
||||||
// create the lists for the various results. (resized on completion)
|
// create the lists for the various results. (resized on completion)
|
||||||
labelListList& sortedEdgeFaces = labelListList(edgeFaces.size());
|
labelListList sortedEdgeFaces(edgeFaces.size());
|
||||||
|
|
||||||
forAll(edgeFaces, edgeI)
|
forAll(edgeFaces, edgeI)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user