diff --git a/src/util/DereferenceIterator.hxx b/src/util/DereferenceIterator.hxx index 3cc44480c..6d62ff674 100644 --- a/src/util/DereferenceIterator.hxx +++ b/src/util/DereferenceIterator.hxx @@ -44,7 +44,7 @@ public: constexpr auto operator++(int) noexcept { auto old = *this; - original++; + ++original; return old; } @@ -58,13 +58,13 @@ public: } constexpr auto &operator--() noexcept { - original = --original; + --original; return *this; } constexpr auto operator--(int) noexcept { auto old = *this; - original--; + --original; return old; }