mirror of https://github.com/CGAL/cgal
fix warning
This commit is contained in:
parent
8a0a14a051
commit
c1def7afc7
|
|
@ -65,7 +65,7 @@ template<class NT_,class Dim_,class Max_dim_=Dim_> struct Array_vector {
|
||||||
struct Iterator {
|
struct Iterator {
|
||||||
template<typename Iter>
|
template<typename Iter>
|
||||||
Vector operator()(unsigned CGAL_assertion_code(d),Iter const& f,Iter const& e) const {
|
Vector operator()(unsigned CGAL_assertion_code(d),Iter const& f,Iter const& e) const {
|
||||||
CGAL_assertion(d==std::distance(f,e));
|
CGAL_assertion(d==(unsigned) std::distance(f,e));
|
||||||
CGAL_assertion(d<=d_);
|
CGAL_assertion(d<=d_);
|
||||||
//TODO: optimize for forward iterators
|
//TODO: optimize for forward iterators
|
||||||
Vector a;
|
Vector a;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue