From: Wolfgang Bangerth Date: Mon, 14 Nov 2016 23:52:07 +0000 (-0700) Subject: Remove the copy constryctor of TrilinosWrappers::SparsityPatternIterators::Accessor. X-Git-Tag: v8.5.0-rc1~397^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96f421eafb4bfa8c83810421aafe9bf5954aee98;p=dealii.git Remove the copy constryctor of TrilinosWrappers::SparsityPatternIterators::Accessor. It is the default copy constructor, and by removing it, we need not worry about the fact that we have no copy assignment operator in this class. --- diff --git a/include/deal.II/lac/trilinos_sparsity_pattern.h b/include/deal.II/lac/trilinos_sparsity_pattern.h index 856c3bb29e..e38a2b322b 100644 --- a/include/deal.II/lac/trilinos_sparsity_pattern.h +++ b/include/deal.II/lac/trilinos_sparsity_pattern.h @@ -88,11 +88,6 @@ namespace TrilinosWrappers const size_type row, const size_type index); - /** - * Copy constructor. - */ - Accessor (const Accessor &a); - /** * Row number of the element represented by this object. */ @@ -1193,15 +1188,6 @@ namespace TrilinosWrappers } - inline - Accessor::Accessor (const Accessor &a) - : - sparsity_pattern(a.sparsity_pattern), - a_row(a.a_row), - a_index(a.a_index), - colnum_cache (a.colnum_cache) - {} - inline Accessor::size_type