From 4d4c7d0eed576f9d22ac5ce8391ca2ec4e043daf Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 7 Sep 2015 11:08:41 +0100 Subject: [PATCH] Intel 2016 compiler porting --- .../octreeData/octreeDataTriSurfaceTreeLeaf.H | 2 +- src/surfMesh/MeshedSurface/MeshedSurface.C | 30 ++++++++++--------- 2 files changed, 17 insertions(+), 15 deletions(-) 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