From e3d53ae16cbb91b5cde02bef79bfc2402379af32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20M=C3=B6ller?= Date: Tue, 26 Jun 2012 15:49:41 +0000 Subject: [PATCH] Also use typename on clang. This is the same fix as the previous one. That code will still not work should someone use -std=c++03 on clang and a more substantial fix should be done. --- .../include/CGAL/Curved_kernel_via_analysis_2/Arc_2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Arc_2.h b/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Arc_2.h index 5c23fe56d47..30dabba8bbd 100644 --- a/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Arc_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Arc_2.h @@ -3234,7 +3234,7 @@ public: return is_equal(arc2); } -#if defined(_MSC_VER) +#if defined(_MSC_VER) || defined(__clang__) // befriending the kernel point friend typename Curved_kernel_via_analysis_2::Point_2;