it seems that only msvc 2015 has an issue with "template" here

This commit is contained in:
Jane Tournois 2023-02-07 12:43:46 +01:00
parent 51675616ad
commit 520ecebf5b
1 changed files with 4 additions and 0 deletions

View File

@ -128,7 +128,11 @@ namespace internal {
struct Detect_features_in_domain { struct Detect_features_in_domain {
std::vector<std::vector<Point>> std::vector<std::vector<Point>>
operator()(const CGAL::Image_3& image, DetectFunctor functor) const { operator()(const CGAL::Image_3& image, DetectFunctor functor) const {
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1910) //before msvc2017
return functor.operator()<Point>(image);
#else
return functor.template operator()<Point>(image); return functor.template operator()<Point>(image);
#endif
} }
}; };
// specialization for `Null_functor`: create the default functor // specialization for `Null_functor`: create the default functor