From 4cfe58ac02a98ad85a4801f625f2d88f26df84e4 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 15 Jan 2013 08:59:47 +0100 Subject: [PATCH] remove typedef shadowing template parameter --- Spatial_sorting/include/CGAL/hilbert_sort.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Spatial_sorting/include/CGAL/hilbert_sort.h b/Spatial_sorting/include/CGAL/hilbert_sort.h index 054e91572f0..7e02a17fd5a 100644 --- a/Spatial_sorting/include/CGAL/hilbert_sort.h +++ b/Spatial_sorting/include/CGAL/hilbert_sort.h @@ -101,9 +101,7 @@ void hilbert_sort (RandomAccessIterator begin, RandomAccessIterator end, { typedef std::iterator_traits ITraits; typedef typename ITraits::value_type value_type; - typedef CGAL::Kernel_traits KTraits; - typedef typename KTraits::Kernel Kernel; - + internal::hilbert_sort(begin, end, k, Hilbert_sort_median_policy(), static_cast (0)); }