mirror of https://github.com/CGAL/cgal
Fix errors with iterator conversions
This commit is contained in:
parent
3cf1853832
commit
2923ea4a2b
|
|
@ -213,7 +213,7 @@ public:
|
||||||
// ---------------------------------
|
// ---------------------------------
|
||||||
|
|
||||||
Self& operator--() {
|
Self& operator--() {
|
||||||
this->nt = (*this->nt).prev();
|
this->nt = typename It::Iterator((*this->nt).prev());
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
Self operator--(int) {
|
Self operator--(int) {
|
||||||
|
|
@ -279,7 +279,7 @@ public:
|
||||||
// ---------------------------------
|
// ---------------------------------
|
||||||
|
|
||||||
Self& operator--() {
|
Self& operator--() {
|
||||||
this->nt = (*this->nt).prev();
|
this->nt = typename It::Iterator((*this->nt).prev());
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
Self operator--(int) {
|
Self operator--(int) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue