]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make copy constructor of dSMatrixStruct private.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 5 Feb 1999 18:37:59 +0000 (18:37 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 5 Feb 1999 18:37:59 +0000 (18:37 +0000)
git-svn-id: https://svn.dealii.org/trunk@757 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/dsmatrix.h

index 4a8f5f3019589bccd019940190df847c2bc6781a..2074960fedcba3765260363152778915b6029ab5 100644 (file)
@@ -29,6 +29,19 @@ CLASS
    */
 class dSMatrixStruct
 {
+  private:
+                                    /**
+                                     * Copy constructor, made private in order to
+                                     * prevent copying such an object which does
+                                     * not make much sense because you can use
+                                     * a structure like this for more than one
+                                     * matrix.
+                                     *
+                                     * Because it is not needed, this function
+                                     * is not implemented.
+                                     */
+    dSMatrixStruct (const dSMatrixStruct &);
+    
   public:
                                     /**
                                      * Initialize the matrix empty, i.e. with
@@ -749,8 +762,6 @@ const int * dSMatrixStruct::get_column_numbers () const {
 
 
 
-
-
 inline
 unsigned int dSMatrix::m () const
 {

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.