From 3b519819b48cd61ef162dcb0147e075bf03c6301 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Thu, 21 Jan 2016 09:33:45 +0100 Subject: [PATCH] Use assertion_code() --- NewKernel_d/include/CGAL/NewKernel_d/Vector/array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NewKernel_d/include/CGAL/NewKernel_d/Vector/array.h b/NewKernel_d/include/CGAL/NewKernel_d/Vector/array.h index a7b58a8f8a8..0ad9bb36d72 100644 --- a/NewKernel_d/include/CGAL/NewKernel_d/Vector/array.h +++ b/NewKernel_d/include/CGAL/NewKernel_d/Vector/array.h @@ -91,7 +91,7 @@ template struct Array_vector { struct Iterator_and_last { template - Vector operator()(unsigned d,Iter const& f,Iter const& e,CGAL_FORWARDABLE(T) t) const { + Vector operator()(unsigned CGAL_assertion_code(d),Iter const& f,Iter const& e,CGAL_FORWARDABLE(T) t) const { CGAL_assertion(d==std::distance(f,e)+1); CGAL_assertion(d<=d_); //TODO: optimize for forward iterators