From e241b220080da887dbc96bc874a1b05e330d7dde Mon Sep 17 00:00:00 2001 From: Sylvain Pion Date: Tue, 13 Jun 2006 08:44:53 +0000 Subject: [PATCH] - Remove a use of CGAL_CFG_NO_AUTOMATIC_TEMPLATE_INCLUSION. --- .../examples/Convex_hull_2/include/CGAL/ch_timing_2.h | 9 ++------- .../include/CGAL/{ch_timing_2.C => ch_timing_2_impl.h} | 10 +++------- 2 files changed, 5 insertions(+), 14 deletions(-) rename Convex_hull_2/examples/Convex_hull_2/include/CGAL/{ch_timing_2.C => ch_timing_2_impl.h} (93%) diff --git a/Convex_hull_2/examples/Convex_hull_2/include/CGAL/ch_timing_2.h b/Convex_hull_2/examples/Convex_hull_2/include/CGAL/ch_timing_2.h index dd8e31afde8..d97c2aa5a05 100644 --- a/Convex_hull_2/examples/Convex_hull_2/include/CGAL/ch_timing_2.h +++ b/Convex_hull_2/examples/Convex_hull_2/include/CGAL/ch_timing_2.h @@ -3,16 +3,14 @@ // // This file is part of an example program for CGAL. This example // program may be used, distributed and modified without limitation. -// - #ifndef CGAL_CH_TIMING_2_H #define CGAL_CH_TIMING_2_H #include - CGAL_BEGIN_NAMESPACE + template void ch_timing( ForwardIterator first, ForwardIterator last, @@ -22,9 +20,6 @@ ch_timing( ForwardIterator first, ForwardIterator last, CGAL_END_NAMESPACE -#ifdef CGAL_CFG_NO_AUTOMATIC_TEMPLATE_INCLUSION -#include -#endif // CGAL_CFG_NO_AUTOMATIC_TEMPLATE_INCLUSION +#include #endif // CGAL_CH_TIMING_2_H - diff --git a/Convex_hull_2/examples/Convex_hull_2/include/CGAL/ch_timing_2.C b/Convex_hull_2/examples/Convex_hull_2/include/CGAL/ch_timing_2_impl.h similarity index 93% rename from Convex_hull_2/examples/Convex_hull_2/include/CGAL/ch_timing_2.C rename to Convex_hull_2/examples/Convex_hull_2/include/CGAL/ch_timing_2_impl.h index 4d936c0b15e..0555ff1e2d0 100644 --- a/Convex_hull_2/examples/Convex_hull_2/include/CGAL/ch_timing_2.C +++ b/Convex_hull_2/examples/Convex_hull_2/include/CGAL/ch_timing_2_impl.h @@ -3,15 +3,11 @@ // // This file is part of an example program for CGAL. This example // program may be used, distributed and modified without limitation. -// +#ifndef CGAL_CH_TIMING_2_IMPL_H +#define CGAL_CH_TIMING_2_IMPL_H -#ifndef CGAL_CH_TIMING_2_C -#define CGAL_CH_TIMING_2_C - -#ifndef CGAL_CH_TIMING_2_H #include -#endif // CGAL_CH_TIMING_2_H CGAL_BEGIN_NAMESPACE @@ -114,4 +110,4 @@ ch_timing( ForwardIterator first, ForwardIterator last, CGAL_END_NAMESPACE -#endif // CGAL_CH_TIMING_2_C +#endif // CGAL_CH_TIMING_2_IMPL_H