From e45cb3961ba02e3807085d44ea6713ce5b0c98eb Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Tue, 13 Dec 2016 00:29:16 +0100 Subject: [PATCH] Remove undocumented and unused constructor of Weighted_Minkowski_distance. --- .../include/CGAL/Weighted_Minkowski_distance.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Spatial_searching/include/CGAL/Weighted_Minkowski_distance.h b/Spatial_searching/include/CGAL/Weighted_Minkowski_distance.h index 903b33d0670..5ef3cb1837c 100644 --- a/Spatial_searching/include/CGAL/Weighted_Minkowski_distance.h +++ b/Spatial_searching/include/CGAL/Weighted_Minkowski_distance.h @@ -68,18 +68,6 @@ namespace CGAL { //default copy constructor and destructor - Weighted_Minkowski_distance (FT pow, int dim, - const Weight_vector& weights, - const SearchTraits& traits_=SearchTraits()) - : traits(traits_),power(pow) - { - CGAL_assertion(power >= FT(0)); - CGAL_assertion(dim==weights.size()); - for (unsigned int i = 0; i < weights.size(); ++i) - CGAL_assertion(weights[i]>=FT(0)); - the_weights = weights; - } - template Weighted_Minkowski_distance (FT pow, int dim, InputIterator begin,