]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Move a method into the correct class.
authorDavid Wells <wellsd2@rpi.edu>
Sun, 10 Sep 2017 01:05:56 +0000 (21:05 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 28 Oct 2017 18:17:05 +0000 (14:17 -0400)
include/deal.II/lac/block_matrix_array.h

index a40548b9ef4a30a2f8020c9d6a690d69858f3765..44de24864aeda5707934a96781728cc4410d948a 100644 (file)
@@ -318,6 +318,15 @@ protected:
      * The matrix block itself.
      */
     PointerMatrixBase<typename BlockVectorType::BlockType > *matrix;
+
+    /**
+    * Assignment operator.
+    *
+    * @note Since the copy constructor is destructive (see its documentation)
+    * and only exists for convenience there is no reasonable way to implement
+    * this, so it is explicitly deleted.
+    */
+    Entry &operator= (const Entry &) = delete;
   };
 
   /**
@@ -334,13 +343,6 @@ private:
    * number of blocks per row.
    */
   unsigned int block_cols;
-
-  /**
-   * Assignment operator. Since the copy constructor is destructive (see its
-   * documentation) and only exists for convenience there is no reasonable way
-   * to implement this. Hence this operator is both private and unimplemented.
-   */
-  Entry &operator= (const Entry &);
 };
 
 /*@}*/

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.