diff --git a/Periodic_2_triangulation_2/include/CGAL/draw_periodic_2_triangulation_2.h b/Periodic_2_triangulation_2/include/CGAL/draw_periodic_2_triangulation_2.h index 8c25a218a52..2406915d842 100644 --- a/Periodic_2_triangulation_2/include/CGAL/draw_periodic_2_triangulation_2.h +++ b/Periodic_2_triangulation_2/include/CGAL/draw_periodic_2_triangulation_2.h @@ -296,13 +296,4 @@ void draw(const P2T2& ap2t2) #endif // CGAL_USE_BASIC_VIEWER -#else // CGAL_USE_BASIC_VIEWER - -template -void draw_periodic_2_triangulation_2(CGAL::Periodic_2_Triangulation_2&) -{ - std::cerr << "Impossible to draw, CGAL_USE_BASIC_VIEWER is not defined." - << std::endl; -} - #endif // DRAW_PERIODIC_2_TRIANGULATION_2_H diff --git a/Voronoi_diagram_2/include/CGAL/draw_voronoi_diagram_2.h b/Voronoi_diagram_2/include/CGAL/draw_voronoi_diagram_2.h index ad073532e7f..4b4e4a6c652 100644 --- a/Voronoi_diagram_2/include/CGAL/draw_voronoi_diagram_2.h +++ b/Voronoi_diagram_2/include/CGAL/draw_voronoi_diagram_2.h @@ -18,8 +18,8 @@ // // Author(s) : Jasmeet Singh -#ifndef CGAL_DRAW_VORONOI_H -#define CGAL_DRAW_VORONOI_H +#ifndef CGAL_DRAW_VORONOI_DIAGRAM_2_H +#define CGAL_DRAW_VORONOI_DIAGRAM_2_H #include #include @@ -355,15 +355,6 @@ template void draw(const V2 &av2) { } // End namespace CGAL -#else // CGAL_USE_BASIC_VIEWER - -template -void draw_voronoi_diagram_2(CGAL::VoronoiDiagram_2&) -{ - std::cerr << "Impossible to draw, CGAL_USE_BASIC_VIEWER is not defined." - << std::endl; -} - #endif // CGAL_USE_BASIC_VIEWER -#endif // CGAL_DRAW_VORONOI_H +#endif // CGAL_DRAW_VORONOI_DIAGRAM_2_H