From aea0fd1f406ba84844b0f0341d1024117ee0b38c Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Wed, 4 Jan 2023 17:24:53 +0100 Subject: [PATCH] Make it compile on RH8 native compiler of cluster --- src/INTERP_KERNEL/InterpolationHelper.txx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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){}); + } } -- 2.39.2