From 6b88d0a0eee0250d3c1bb45652ac2e4f692e6d76 Mon Sep 17 00:00:00 2001 From: Efi Fogel Date: Thu, 3 Jan 2013 18:05:08 +0200 Subject: [PATCH] cleanup --- .../include/CGAL/Arr_geodesic_arc_on_sphere_traits_2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_geodesic_arc_on_sphere_traits_2.h b/Arrangement_on_surface_2/include/CGAL/Arr_geodesic_arc_on_sphere_traits_2.h index 70e2621d851..aab37ea447a 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_geodesic_arc_on_sphere_traits_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_geodesic_arc_on_sphere_traits_2.h @@ -2245,8 +2245,8 @@ public: typedef Arr_geodesic_arc_on_sphere_traits_2 Traits; Direction_2 dir_xy = Traits::project_xy(dir); - Kernel kernel; - typename Kernel::Equal_2 equal_2 = kernel.equal_2_object(); + const Kernel* kernel = this; + typename Kernel::Equal_2 equal_2 = kernel->equal_2_object(); const Direction_2& xy = Traits::identification_xy(); m_location = equal_2(dir_xy, xy) ? MID_BOUNDARY_LOC : NO_BOUNDARY_LOC; #endif