]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove the copy constryctor of TrilinosWrappers::SparsityPatternIterators::Accessor.
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 14 Nov 2016 23:52:07 +0000 (16:52 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 16 Nov 2016 01:12:18 +0000 (18:12 -0700)
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.

include/deal.II/lac/trilinos_sparsity_pattern.h

index 856c3bb29e9132cb3cad785464608ba895abb270..e38a2b322b8006f5f13d186c082e9b327047c090 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.