From c97484512d7dd42ec2e19f2a687e37d6933e514c Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 26 Jan 2016 17:03:33 +0100 Subject: [PATCH] Use assertion_code() --- NewKernel_d/include/CGAL/NewKernel_d/Vector/vector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NewKernel_d/include/CGAL/NewKernel_d/Vector/vector.h b/NewKernel_d/include/CGAL/NewKernel_d/Vector/vector.h index 9a0924501c9..f9cc4e3cdaf 100644 --- a/NewKernel_d/include/CGAL/NewKernel_d/Vector/vector.h +++ b/NewKernel_d/include/CGAL/NewKernel_d/Vector/vector.h @@ -49,7 +49,7 @@ template struct Vector_vector { struct Iterator { template - Vector operator()(int d,Iter const& f,Iter const& e) const { + Vector operator()(int CGAL_assertion_code(d),Iter const& f,Iter const& e) const { CGAL_assertion(d==std::distance(f,e)); return Vector(f,e); }