From 520ecebf5b84eec3cfef28572e23bdb017ecb98c Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Tue, 7 Feb 2023 12:43:46 +0100 Subject: [PATCH] it seems that only msvc 2015 has an issue with "template" here --- Mesh_3/include/CGAL/Labeled_mesh_domain_3.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Mesh_3/include/CGAL/Labeled_mesh_domain_3.h b/Mesh_3/include/CGAL/Labeled_mesh_domain_3.h index f8402f89547..28e30cd04d3 100644 --- a/Mesh_3/include/CGAL/Labeled_mesh_domain_3.h +++ b/Mesh_3/include/CGAL/Labeled_mesh_domain_3.h @@ -128,7 +128,11 @@ namespace internal { struct Detect_features_in_domain { std::vector> operator()(const CGAL::Image_3& image, DetectFunctor functor) const { +#if defined(BOOST_MSVC) && (BOOST_MSVC < 1910) //before msvc2017 + return functor.operator()(image); +#else return functor.template operator()(image); +#endif } }; // specialization for `Null_functor`: create the default functor