mirror of https://github.com/CGAL/cgal
parent
adff1e473d
commit
2591e6cc7d
|
|
@ -1147,7 +1147,7 @@ namespace internal {
|
||||||
Nullptr_t CGAL_assertion_code(n))
|
Nullptr_t CGAL_assertion_code(n))
|
||||||
{
|
{
|
||||||
CGAL_assertion( n == NULL);
|
CGAL_assertion( n == NULL);
|
||||||
return &*rhs == NULL;
|
return rhs == CC_iterator<DSC, Const>();
|
||||||
}
|
}
|
||||||
|
|
||||||
template < class DSC, bool Const >
|
template < class DSC, bool Const >
|
||||||
|
|
@ -1156,7 +1156,7 @@ namespace internal {
|
||||||
Nullptr_t CGAL_assertion_code(n))
|
Nullptr_t CGAL_assertion_code(n))
|
||||||
{
|
{
|
||||||
CGAL_assertion( n == NULL);
|
CGAL_assertion( n == NULL);
|
||||||
return &*rhs != NULL;
|
return rhs != CC_iterator<DSC, Const>();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace internal
|
} // namespace internal
|
||||||
|
|
|
||||||
|
|
@ -196,7 +196,7 @@ protected:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void deallocate() {
|
void deallocate() {
|
||||||
if ( &*start_)
|
if ( start_ != iterator() )
|
||||||
alloc.deallocate( &*start_, end_of_storage - start_ );
|
alloc.deallocate( &*start_, end_of_storage - start_ );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue