From dbf54bc4f478e320309b4ff08a56a55a94f5da7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Wed, 29 Apr 2015 15:27:43 +0200 Subject: [PATCH] the constructor of the default traits takes the geometric traits as parameter --- .../CGAL/Shape_detection_3/Efficient_RANSAC_traits.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Point_set_shape_detection_3/include/CGAL/Shape_detection_3/Efficient_RANSAC_traits.h b/Point_set_shape_detection_3/include/CGAL/Shape_detection_3/Efficient_RANSAC_traits.h index 67404dd315a..f73bf8b47b8 100644 --- a/Point_set_shape_detection_3/include/CGAL/Shape_detection_3/Efficient_RANSAC_traits.h +++ b/Point_set_shape_detection_3/include/CGAL/Shape_detection_3/Efficient_RANSAC_traits.h @@ -69,6 +69,12 @@ namespace CGAL { typedef InputNormalMap Normal_map; /// typedef CGAL::Search_traits_3 Search_traits; + /// + Efficient_RANSAC_traits(const Gt& gt = Gt()) + : m_gt(gt) {} + + private: + Gt m_gt; }; } } // end of namespace CGAL::Shape_detection_3