From 1ab7bdce12f10422485a14ee9bcaf6cdb1db195c Mon Sep 17 00:00:00 2001 From: mattijs Date: Wed, 28 Jan 2009 16:05:32 +0000 Subject: [PATCH] new pointMesh allocation method --- .../utilities/mesh/manipulation/subsetMesh/subsetMesh.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/utilities/mesh/manipulation/subsetMesh/subsetMesh.C b/applications/utilities/mesh/manipulation/subsetMesh/subsetMesh.C index 556e9fd21e..13aa25c06d 100644 --- a/applications/utilities/mesh/manipulation/subsetMesh/subsetMesh.C +++ b/applications/utilities/mesh/manipulation/subsetMesh/subsetMesh.C @@ -276,7 +276,7 @@ int main(int argc, char *argv[]) // Read point fields and subset // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - pointMesh pMesh(mesh); + const pointMesh& pMesh = pointMesh::New(mesh); wordList pointScalarNames(objects.names(pointScalarField::typeName)); PtrList pointScalarFlds(pointScalarNames.size());