util/DereferenceIterator: fix static_cast in operator->()

This commit is contained in:
Max Kellermann 2021-02-03 18:36:45 +01:00 committed by Max Kellermann
parent b59170b702
commit c87a4a7d08

View File

@ -61,7 +61,7 @@ public:
}
pointer operator->() const noexcept {
return static_cast<reference>(*original.IT::operator->());
return static_cast<pointer>(*original.IT::operator->());
}
auto &operator++() noexcept {