diff --git a/Generator/include/CGAL/Random_convex_set_traits_2.h b/Generator/include/CGAL/Random_convex_set_traits_2.h index 552ca8960b9..0d155acf5b3 100644 --- a/Generator/include/CGAL/Random_convex_set_traits_2.h +++ b/Generator/include/CGAL/Random_convex_set_traits_2.h @@ -97,6 +97,7 @@ random_convex_set_2( int n, typedef typename Point_generator::value_type Point_2; return CGAL_random_convex_set_2(n, o, pg, reinterpret_cast(0)); } + template < class OutputIterator, class Point_generator, class R > inline OutputIterator diff --git a/Generator/include/CGAL/random_convex_set_2.h b/Generator/include/CGAL/random_convex_set_2.h index 1a699392b8e..ecd4fba74f0 100644 --- a/Generator/include/CGAL/random_convex_set_2.h +++ b/Generator/include/CGAL/random_convex_set_2.h @@ -29,11 +29,10 @@ #include #include #include -#ifdef CGAL_REP_CLASS_DEFINED #include -#endif CGAL_BEGIN_NAMESPACE + template < class OutputIterator, class Point_generator, class Traits > OutputIterator random_convex_set_2( int n, @@ -124,11 +123,7 @@ random_convex_set_2( int n, bind2nd( Scale(), FT( pg.range()) / maxcoord)); } // random_convex_set_2( n, o, pg, t) + CGAL_END_NAMESPACE #endif // ! (CGAL_RANDOM_CONVEX_SET_2_H) - -// ---------------------------------------------------------------------------- -// ** EOF -// ---------------------------------------------------------------------------- -