From fa16320d142efcacd0efd846ca6e6c8fa2dea259 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sun, 5 Feb 2017 17:41:23 +0100 Subject: [PATCH] Fix Initialization of FilteredIterator from base class --- include/deal.II/grid/filtered_iterator.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/deal.II/grid/filtered_iterator.h b/include/deal.II/grid/filtered_iterator.h index b9908dcf7a..22d6dff9aa 100644 --- a/include/deal.II/grid/filtered_iterator.h +++ b/include/deal.II/grid/filtered_iterator.h @@ -960,10 +960,8 @@ FilteredIterator & FilteredIterator:: operator = (const FilteredIterator &fi) { - Assert ((fi.state() != IteratorState::valid) || (*predicate)(fi), - ExcInvalidElement(fi)); - BaseIterator::operator = (fi); - return *this; + const BaseIterator &bi = fi; + return operator = (bi); } -- 2.39.5