diff --git a/src/OpenFOAM/meshes/polyMesh/polyMesh.C b/src/OpenFOAM/meshes/polyMesh/polyMesh.C index cea4f62144..9a652cebb6 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyMesh.C +++ b/src/OpenFOAM/meshes/polyMesh/polyMesh.C @@ -859,12 +859,12 @@ void Foam::polyMesh::swap(polyMesh& otherMesh) const polyPatchList patches ( boundary_, - boundary_ + otherMesh.boundary_ ); const polyPatchList otherPatches ( otherMesh.boundary_, - otherMesh.boundary_ + boundary_ ); updatePatches(otherPatches, boundary_);