diff options
Diffstat (limited to 'deps/v8/src/zone/zone-handle-set.h')
-rw-r--r-- | deps/v8/src/zone/zone-handle-set.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/deps/v8/src/zone/zone-handle-set.h b/deps/v8/src/zone/zone-handle-set.h index 9abc89a30e..c5297902d8 100644 --- a/deps/v8/src/zone/zone-handle-set.h +++ b/deps/v8/src/zone/zone-handle-set.h @@ -195,11 +195,13 @@ class ZoneHandleSet<T>::const_iterator { typedef std::forward_iterator_tag iterator_category; typedef std::ptrdiff_t difference_type; typedef Handle<T> value_type; + typedef value_type reference; + typedef value_type* pointer; const_iterator(const const_iterator& other) : set_(other.set_), current_(other.current_) {} - Handle<T> operator*() const { return (*set_)[current_]; } + reference operator*() const { return (*set_)[current_]; } bool operator==(const const_iterator& other) const { return set_ == other.set_ && current_ == other.current_; } |