From: Daniel Arndt Date: Tue, 26 May 2020 04:22:08 +0000 (-0400) Subject: Avoid using non-public members X-Git-Tag: v9.3.0-rc1~1558^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a2aa3b99d4b08dad9a998fe2bdde72371e9bc07;p=dealii.git Avoid using non-public members --- diff --git a/include/deal.II/base/linear_index_iterator.h b/include/deal.II/base/linear_index_iterator.h index c90b430840..d69845f212 100644 --- a/include/deal.II/base/linear_index_iterator.h +++ b/include/deal.II/base/linear_index_iterator.h @@ -256,8 +256,7 @@ public: operator==(const LinearIndexIterator &left, const OtherIterator &right) { const auto &right_2 = static_cast(right); - return left.accessor.container == right_2.accessor.container && - left.accessor.linear_index == right_2.accessor.linear_index; + return left.accessor == right_2.accessor; } /**