Use CGAL_assertion_code() to avoid warning

This commit is contained in:
Andreas Fabri 2016-01-20 12:16:25 +01:00
parent b9fa4bf852
commit 6e1a97858f
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ template<class NT_,class Dim_,class Max_dim_=Dim_> 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();
}