From: Anthony Geay Date: Wed, 4 Jan 2023 16:24:53 +0000 (+0100) Subject: Make it compile on RH8 native compiler of cluster X-Git-Tag: V9_11_0a1~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=aea0fd1f406ba84844b0f0341d1024117ee0b38c;p=tools%2Fmedcoupling.git Make it compile on RH8 native compiler of cluster --- diff --git a/src/INTERP_KERNEL/InterpolationHelper.txx b/src/INTERP_KERNEL/InterpolationHelper.txx index 48ca55d1f..2e50c8dfd 100755 --- a/src/INTERP_KERNEL/InterpolationHelper.txx +++ b/src/INTERP_KERNEL/InterpolationHelper.txx @@ -29,12 +29,6 @@ namespace INTERP_KERNEL { - template - BBTreeStandAlone<3,typename MyMeshType::MyConnType> BuildBBTree(const MyMeshType& srcMesh) - { - return BuildBBTreeWithAdjustment(srcMesh,[](double *,typename MyMeshType::MyConnType){}); - } - template BBTreeStandAlone<3,typename MyMeshType::MyConnType> BuildBBTreeWithAdjustment(const MyMeshType& srcMesh, std::function bboxAdjuster) { @@ -55,4 +49,10 @@ namespace INTERP_KERNEL bboxAdjuster(bboxes.get(),nbElts); return BBTreeStandAlone<3,ConnType>(std::move(bboxes),numSrcElems); } + + template + BBTreeStandAlone<3,typename MyMeshType::MyConnType> BuildBBTree(const MyMeshType& srcMesh) + { + return BuildBBTreeWithAdjustment(srcMesh,[](double *,typename MyMeshType::MyConnType){}); + } }