From 95dc0ea87d4518dfb829f2e8d90cf6e30666bf42 Mon Sep 17 00:00:00 2001 From: Susan Hert Date: Thu, 13 Sep 2001 08:37:15 +0000 Subject: [PATCH] added fix for SUNPRO --- Packages/Convex_hull_2/include/CGAL/ch_value_type.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Packages/Convex_hull_2/include/CGAL/ch_value_type.h b/Packages/Convex_hull_2/include/CGAL/ch_value_type.h index 433e23bc263..0d149928da4 100644 --- a/Packages/Convex_hull_2/include/CGAL/ch_value_type.h +++ b/Packages/Convex_hull_2/include/CGAL/ch_value_type.h @@ -33,6 +33,16 @@ ch_value_type(const Iterator&) typedef typename std::iterator_traits::value_type v_type; return static_cast(0); } +#if defined(__sun) && (__SUNPRO_CC == 0x530) +template +inline +typename std::iterator_traits::value_type* +ch_value_type(Iterator*) +{ + typedef typename std::iterator_traits::value_type v_type; + return static_cast(0); +} +#endif // defined(__sun) && (__SUNPRO_CC == 0x530) #else #ifdef _MSC_VER template