mirror of https://github.com/CGAL/cgal
Use CGAL_assertion_code() to avoid warning
This commit is contained in:
parent
b9fa4bf852
commit
6e1a97858f
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue