]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make all instances of a template a friend function, in hopes to make
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 31 Jan 2014 19:44:13 +0000 (19:44 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 31 Jan 2014 19:44:13 +0000 (19:44 +0000)
MS VC++ happy.

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

deal.II/include/deal.II/lac/matrix_block.h

index f6542c8bcf20fba5d84817279e64d04e22a7202f..02938f4618e1d6d2f13ab73e48a133bb26f0384f 100644 (file)
@@ -1,7 +1,7 @@
 // ---------------------------------------------------------------------
 // $Id$
 //
-// Copyright (C) 2007 - 2013 by the deal.II authors
+// Copyright (C) 2007 - 2014 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -388,7 +388,8 @@ private:
    */
   BlockIndices column_indices;
 
-  friend void internal::reinit<>(MatrixBlock<MATRIX> &, const BlockSparsityPattern &);
+  template <class MATRIX>
+  friend void internal::reinit(MatrixBlock<MATRIX> &, const BlockSparsityPattern &);
 };
 
 

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.