From: Daniel Arndt Date: Sun, 5 Feb 2017 16:41:23 +0000 (+0100) Subject: Fix Initialization of FilteredIterator from base class X-Git-Tag: v8.5.0-rc1~144^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa16320d142efcacd0efd846ca6e6c8fa2dea259;p=dealii.git Fix Initialization of FilteredIterator from base class --- 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); }