diff --git a/src/meshTools/triSurface/octreeData/octreeDataTriSurfaceTreeLeaf.H b/src/meshTools/triSurface/octreeData/octreeDataTriSurfaceTreeLeaf.H index 4887ece59..58c86adb6 100644 --- a/src/meshTools/triSurface/octreeData/octreeDataTriSurfaceTreeLeaf.H +++ b/src/meshTools/triSurface/octreeData/octreeDataTriSurfaceTreeLeaf.H @@ -45,7 +45,7 @@ namespace Foam // Forward declaration of classes class octreeDataTriSurface; -template<> inline +template<> bool treeLeaf::findNearest ( const octreeDataTriSurface& shapes, diff --git a/src/surfMesh/MeshedSurface/MeshedSurface.C b/src/surfMesh/MeshedSurface/MeshedSurface.C index a7205d8b6..5bb0cda5d 100644 --- a/src/surfMesh/MeshedSurface/MeshedSurface.C +++ b/src/surfMesh/MeshedSurface/MeshedSurface.C @@ -32,6 +32,8 @@ License #include "polyBoundaryMesh.H" #include "polyMesh.H" #include "surfMesh.H" +#include "Xfer.H" +#include "surfZone.H" #include "primitivePatch.H" #include "addToRunTimeSelectionTable.H" @@ -170,9 +172,9 @@ Foam::MeshedSurface::MeshedSurface() template Foam::MeshedSurface::MeshedSurface ( - const Xfer< pointField >& pointLst, - const Xfer< List >& faceLst, - const Xfer< surfZoneList >& zoneLst + const Xfer& pointLst, + const Xfer >& faceLst, + const Xfer& zoneLst ) : ParentType(List(), pointField()), @@ -185,8 +187,8 @@ Foam::MeshedSurface::MeshedSurface template Foam::MeshedSurface::MeshedSurface ( - const Xfer< pointField >& pointLst, - const Xfer< List >& faceLst, + const Xfer& pointLst, + const Xfer >& faceLst, const UList