]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Made operator = private to avoid improper use.
authornauber <nauber@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 26 May 1999 08:21:37 +0000 (08:21 +0000)
committernauber <nauber@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 26 May 1999 08:21:37 +0000 (08:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@1351 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_matrix.h

index 88f0b6e956f98c72a17ed53b6910de6c2429d6ec..c6bcccb081c0b179ec3ea04e3f6478aee22d3440 100644 (file)
@@ -1048,6 +1048,13 @@ class SparseMatrix : public Subscriptor
                                     // make all other sparse matrices
                                     // friends
     template <typename somenumber> friend class SparseMatrix<somenumber>;
+
+                                    /** 
+                                     * Made #operator =# private to
+                                     * avoid improper use.
+                                     */
+    SparseMatrix<number>& operator = (const SparseMatrix<number> &);
+
 };
 
 

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.