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