diff --git a/nano/store/iterator.hpp b/nano/store/iterator.hpp index aef5cc709..7fe957d72 100644 --- a/nano/store/iterator.hpp +++ b/nano/store/iterator.hpp @@ -49,6 +49,10 @@ public: { return ¤t; } + std::pair const & operator* () const + { + return current; + } bool operator== (iterator const & other_a) const { return (impl == nullptr && other_a.impl == nullptr) || (impl != nullptr && *impl == other_a.impl.get ()) || (other_a.impl != nullptr && *other_a.impl == impl.get ());