diff --git a/Filtered_kernel/test/Filtered_kernel/test_lazy_vector_objects.cpp b/Filtered_kernel/test/Filtered_kernel/test_lazy_vector_objects.cpp index c82938f4054..9fe27fe30e7 100644 --- a/Filtered_kernel/test/Filtered_kernel/test_lazy_vector_objects.cpp +++ b/Filtered_kernel/test/Filtered_kernel/test_lazy_vector_objects.cpp @@ -34,6 +34,7 @@ int main() } obj = CGAL::intersection(s1,s2); + #if CGAL_INTERSECTION_VERSION > 1 // check the variant return type CGAL::cpp11::result_of::type o_variant = CGAL::intersection(t1,t2); if(!o_variant) { @@ -53,6 +54,7 @@ int main() std::cerr << CGAL::exact((*V)[i]) << std::endl; } } + #endif } { @@ -74,6 +76,7 @@ int main() } } + #if CGAL_INTERSECTION_VERSION > 1 // check the variant return type CGAL::cpp11::result_of::type o_variant = CGAL::intersection(t1,t2); if(!o_variant) { @@ -93,7 +96,7 @@ int main() std::cerr << CGAL::exact((*V)[i]) << std::endl; } } - + #endif } //making the interval construction failing {