util/DereferenceIterator: add missing `const`
This commit is contained in:
parent
13576b8a2e
commit
68a424d9e1
|
@ -53,7 +53,7 @@ public:
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto &operator+(difference_type n) noexcept {
|
auto &operator+(difference_type n) const noexcept {
|
||||||
return original + n;
|
return original + n;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ public:
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto &operator-(difference_type n) noexcept {
|
auto &operator-(difference_type n) const noexcept {
|
||||||
return original - n;
|
return original - n;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue