mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-23 01:17:16 +02:00
fixed bug in copy constructor of iterator_archetype, base was not
being copy constructed [SVN r21785]
This commit is contained in:
@ -470,7 +470,8 @@ struct iterator_archetype
|
||||
# endif
|
||||
|
||||
iterator_archetype() { }
|
||||
iterator_archetype(iterator_archetype const&) { }
|
||||
iterator_archetype(iterator_archetype const& x)
|
||||
: detail::iterator_archetype_base<Value, AccessCategory, TraversalCategory>(x) { }
|
||||
|
||||
iterator_archetype& operator=(iterator_archetype const&) { return *this; }
|
||||
|
||||
|
Reference in New Issue
Block a user