]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Patch by k3daevin: Add Reference class as a friend of sparse matrix to make
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 17 Apr 2014 11:45:45 +0000 (11:45 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 17 Apr 2014 11:45:45 +0000 (11:45 +0000)
IBM xlC work.

git-svn-id: https://svn.dealii.org/trunk@32787 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 037913ea1d34ea3894ee891884184c12faa95389..1b3b9e1fc9177d193e3ff1ffd71ea7f1f5df1a73 100644 (file)
@@ -1656,6 +1656,8 @@ private:
    */
   template <typename,bool> friend class SparseMatrixIterators::Iterator;
   template <typename,bool> friend class SparseMatrixIterators::Accessor;
+
+  template <typename number2> friend class SparseMatrixIterators::Accessor<number2, false>::Reference;
 };
 
 #ifndef DOXYGEN

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.