From f130489709cf00794aa275312d506f501ae4c89f Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 11 May 2010 09:07:56 +0000 Subject: [PATCH] overload function for const-correctness (discovered by Intel compiler) --- .../include/CGAL/Sweep_line_empty_visitor.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Arrangement_on_surface_2/include/CGAL/Sweep_line_empty_visitor.h b/Arrangement_on_surface_2/include/CGAL/Sweep_line_empty_visitor.h index 9f25a4cd35a..d86bb623630 100644 --- a/Arrangement_on_surface_2/include/CGAL/Sweep_line_empty_visitor.h +++ b/Arrangement_on_surface_2/include/CGAL/Sweep_line_empty_visitor.h @@ -269,6 +269,11 @@ private: { return (reinterpret_cast(m_sweep_line)); } + + const Sweep_line* _sweep_line () const + { + return (reinterpret_cast(m_sweep_line)); + } }; CGAL_END_NAMESPACE