diff --git a/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C b/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C index 94f78980a..1e9b46144 100644 --- a/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C +++ b/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C @@ -816,9 +816,6 @@ autoPtr createRegionMesh } } - polyBoundaryMesh& polyPatches = - const_cast(mesh.boundaryMesh()); - // Reorder polyPatches and trim empty patches from the end // of the list newPatches.reorder(oldToNew);