util/DereferenceIterator: add missing `const`

This commit is contained in:
Max Kellermann 2024-07-10 20:11:18 +02:00
parent 13576b8a2e
commit 68a424d9e1
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ public:
return *this;
}
auto &operator+(difference_type n) noexcept {
auto &operator+(difference_type n) const noexcept {
return original + n;
}
@ -73,7 +73,7 @@ public:
return *this;
}
auto &operator-(difference_type n) noexcept {
auto &operator-(difference_type n) const noexcept {
return original - n;
}