mirror of https://github.com/CGAL/cgal
it seems that only msvc 2015 has an issue with "template" here
This commit is contained in:
parent
51675616ad
commit
520ecebf5b
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue