diff --git a/compound.hh b/compound.hh index eddc6ac371..7180f6829b 100644 --- a/compound.hh +++ b/compound.hh @@ -130,10 +130,10 @@ public: bytes decompose_value(const value_type& values) { return serialize_value(values); } - class iterator : public std::iterator { + class iterator : public std::iterator { private: bytes_view _v; - value_type _current; + bytes_view _current; private: void read_current() { size_type len;