From 600d8b8124d333af2f9bf84fa1c67841534a9ead Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Mon, 24 Nov 2008 10:50:30 +0000 Subject: [PATCH] Replace struct K .. with typedef .. K --- Interpolation/examples/Interpolation/interpolation_2.cpp | 2 +- Interpolation/examples/Interpolation/linear_interpolation_2.cpp | 2 +- Interpolation/examples/Interpolation/nn_coordinates_2.cpp | 2 +- Interpolation/examples/Interpolation/nn_coordinates_3.cpp | 2 +- Interpolation/examples/Interpolation/rn_coordinates_2.cpp | 2 +- Interpolation/examples/Interpolation/sibson_interpolation_2.cpp | 2 +- .../examples/Interpolation/surface_neighbor_coordinates_3.cpp | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Interpolation/examples/Interpolation/interpolation_2.cpp b/Interpolation/examples/Interpolation/interpolation_2.cpp index f595211e808..a345174897d 100644 --- a/Interpolation/examples/Interpolation/interpolation_2.cpp +++ b/Interpolation/examples/Interpolation/interpolation_2.cpp @@ -16,7 +16,7 @@ #include -struct K : CGAL::Exact_predicates_inexact_constructions_kernel {}; +typedef CGAL::Exact_predicates_inexact_constructions_kernel K; typedef K::FT Coord_type; typedef K::Vector_2 Vector; typedef K::Point_2 Point; diff --git a/Interpolation/examples/Interpolation/linear_interpolation_2.cpp b/Interpolation/examples/Interpolation/linear_interpolation_2.cpp index ce90050dece..d06f4439e7a 100644 --- a/Interpolation/examples/Interpolation/linear_interpolation_2.cpp +++ b/Interpolation/examples/Interpolation/linear_interpolation_2.cpp @@ -5,7 +5,7 @@ #include #include -struct K : CGAL::Exact_predicates_inexact_constructions_kernel {}; +typedef CGAL::Exact_predicates_inexact_constructions_kernel K; typedef CGAL::Delaunay_triangulation_2 Delaunay_triangulation; typedef CGAL::Interpolation_traits_2 Traits; typedef K::FT Coord_type; diff --git a/Interpolation/examples/Interpolation/nn_coordinates_2.cpp b/Interpolation/examples/Interpolation/nn_coordinates_2.cpp index 47a026351ab..710237d8fb6 100644 --- a/Interpolation/examples/Interpolation/nn_coordinates_2.cpp +++ b/Interpolation/examples/Interpolation/nn_coordinates_2.cpp @@ -2,7 +2,7 @@ #include #include -struct K : CGAL::Exact_predicates_inexact_constructions_kernel {}; +typedef CGAL::Exact_predicates_inexact_constructions_kernel K; typedef CGAL::Delaunay_triangulation_2 Delaunay_triangulation; typedef std::vector< std::pair< K::Point_2, K::FT > > Point_coordinate_vector; diff --git a/Interpolation/examples/Interpolation/nn_coordinates_3.cpp b/Interpolation/examples/Interpolation/nn_coordinates_3.cpp index 4f9d29e9417..2bbb0849971 100644 --- a/Interpolation/examples/Interpolation/nn_coordinates_3.cpp +++ b/Interpolation/examples/Interpolation/nn_coordinates_3.cpp @@ -12,7 +12,7 @@ typedef double NT; //Number Type -struct K : CGAL::Exact_predicates_inexact_constructions_kernel {}; +typedef CGAL::Exact_predicates_inexact_constructions_kernel K; typedef K::Point_3 Point3; typedef K::Vector_3 Vector3; diff --git a/Interpolation/examples/Interpolation/rn_coordinates_2.cpp b/Interpolation/examples/Interpolation/rn_coordinates_2.cpp index 97d26e03146..191c659308b 100644 --- a/Interpolation/examples/Interpolation/rn_coordinates_2.cpp +++ b/Interpolation/examples/Interpolation/rn_coordinates_2.cpp @@ -3,7 +3,7 @@ #include #include -struct K : CGAL::Exact_predicates_inexact_constructions_kernel {}; +typedef CGAL::Exact_predicates_inexact_constructions_kernel K; typedef CGAL::Regular_triangulation_euclidean_traits_2 Gt; typedef CGAL::Regular_triangulation_2 Regular_triangulation; diff --git a/Interpolation/examples/Interpolation/sibson_interpolation_2.cpp b/Interpolation/examples/Interpolation/sibson_interpolation_2.cpp index 7482a911e6c..92ffae9fdec 100644 --- a/Interpolation/examples/Interpolation/sibson_interpolation_2.cpp +++ b/Interpolation/examples/Interpolation/sibson_interpolation_2.cpp @@ -6,7 +6,7 @@ #include #include -struct K : CGAL::Exact_predicates_inexact_constructions_kernel {}; +typedef CGAL::Exact_predicates_inexact_constructions_kernel K; typedef CGAL::Delaunay_triangulation_2 Delaunay_triangulation; typedef CGAL::Interpolation_gradient_fitting_traits_2 Traits; diff --git a/Interpolation/examples/Interpolation/surface_neighbor_coordinates_3.cpp b/Interpolation/examples/Interpolation/surface_neighbor_coordinates_3.cpp index 9aea81f699a..84f4291551a 100644 --- a/Interpolation/examples/Interpolation/surface_neighbor_coordinates_3.cpp +++ b/Interpolation/examples/Interpolation/surface_neighbor_coordinates_3.cpp @@ -8,7 +8,7 @@ #include -struct K : CGAL::Exact_predicates_inexact_constructions_kernel {}; +typedef CGAL::Exact_predicates_inexact_constructions_kernel K; typedef K::FT Coord_type; typedef K::Point_3 Point_3; typedef K::Vector_3 Vector_3;