Commit c87a4a7d authored by Max Kellermann's avatar Max Kellermann Committed by Max Kellermann

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

parent b59170b7
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment