From 4f002e16f828b79b3dbc0cacf9246675352e3091 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 15 Apr 2013 12:58:37 +0100 Subject: [PATCH] Fixed access to pointMesh --- .../utilities/mesh/advanced/refineHexMesh/refineHexMesh.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/utilities/mesh/advanced/refineHexMesh/refineHexMesh.C b/applications/utilities/mesh/advanced/refineHexMesh/refineHexMesh.C index 39c28bf28..3ecc63174 100644 --- a/applications/utilities/mesh/advanced/refineHexMesh/refineHexMesh.C +++ b/applications/utilities/mesh/advanced/refineHexMesh/refineHexMesh.C @@ -60,7 +60,7 @@ int main(int argc, char *argv[]) # include "createMesh.H" const word oldInstance = mesh.pointsInstance(); - pointMesh pMesh(mesh); + const pointMesh& pMesh = pointMesh::New(mesh); word cellSetName(args.args()[1]); bool overwrite = args.optionFound("overwrite");