From 4783005cbfb0d6772d6aff5744392f5200034cbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Tue, 17 Dec 2024 22:32:28 +0100 Subject: [PATCH] Remove unused functor --- Filtered_kernel/include/CGAL/Lazy.h | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/Filtered_kernel/include/CGAL/Lazy.h b/Filtered_kernel/include/CGAL/Lazy.h index ab56f1f1c50..7570d0c706f 100644 --- a/Filtered_kernel/include/CGAL/Lazy.h +++ b/Filtered_kernel/include/CGAL/Lazy.h @@ -1185,33 +1185,6 @@ struct Ith_for_intersection { } }; -// This functor selects the i'th element in a vector of T2's -template -struct Ith_for_intersection_with_variant { - typedef T2 result_type; - int i; - - Ith_for_intersection_with_variant(int i_) - : i(i_) - {} - - template< BOOST_VARIANT_ENUM_PARAMS(typename U) > - const T2& - operator()(const boost::optional< boost::variant< BOOST_VARIANT_ENUM_PARAMS(U) > >& o) const - { - const std::vector* ptr = (boost::get >(&(*o))); - return (*ptr)[i]; - } - - template< BOOST_VARIANT_ENUM_PARAMS(typename U) > - const T2& - operator()(const boost::variant< BOOST_VARIANT_ENUM_PARAMS(U) >& o) const - { - const std::vector* ptr = (boost::get >(&o)); - return (*ptr)[i]; - } -}; - template struct Lazy_cartesian_const_iterator_2 {