Merge branch 'fix_filtered_smart_range' into 'master'
add assignment operator to FilteredIterator to allow combination of filtered and argmin See merge request OpenMesh/OpenMesh!276
This commit is contained in:
@@ -441,6 +441,13 @@ struct FilteredSmartRangeT : public SmartRangeT<FilteredSmartRangeT<RangeT, Hand
|
|||||||
operator++();
|
operator++();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FilteredIterator& operator=(const FilteredIterator& other)
|
||||||
|
{
|
||||||
|
BaseIterator::operator=(other);
|
||||||
|
end_ = other.end_;
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
FilteredIterator& operator++()
|
FilteredIterator& operator++()
|
||||||
{
|
{
|
||||||
if (BaseIterator::operator==(end_)) // don't go past end
|
if (BaseIterator::operator==(end_)) // don't go past end
|
||||||
|
|||||||
Reference in New Issue
Block a user