From 6e1a97858fbfee55489f6eaae3260e767adbea4a Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 20 Jan 2016 12:16:25 +0100 Subject: [PATCH] Use CGAL_assertion_code() to avoid warning --- 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 26c014068f8..a7b58a8f8a8 100644 --- a/NewKernel_d/include/CGAL/NewKernel_d/Vector/array.h +++ b/NewKernel_d/include/CGAL/NewKernel_d/Vector/array.h @@ -56,7 +56,7 @@ template struct Array_vector { struct Construct_vector { struct Dimension { // Initialize with NaN if possible? - Vector operator()(unsigned d) const { + Vector operator()(unsigned CGAL_assertion_code(d)) const { CGAL_assertion(d<=d_); return Vector(); }