diff options
Diffstat (limited to 'libs/ardour/ardour/buffer_set.h')
-rw-r--r-- | libs/ardour/ardour/buffer_set.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/buffer_set.h b/libs/ardour/ardour/buffer_set.h index 85041b6728..3a4b9c8344 100644 --- a/libs/ardour/ardour/buffer_set.h +++ b/libs/ardour/ardour/buffer_set.h @@ -144,6 +144,8 @@ public: template <typename BS, typename B> class iterator_base { public: + iterator_base(const iterator_base& other) + : _set(other._set), _type(other._type), _index(other._index) {} B& operator*() { return (B&)_set.get_available(_type, _index); } B* operator->() { return &(B&)_set.get_available(_type, _index); } iterator_base<BS,B>& operator++() { ++_index; return *this; } // yes, prefix only |