]> https://gitweb.dealii.org/ - dealii.git/commitdiff
resolve problem with serialization
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 15 Aug 2011 09:16:02 +0000 (09:16 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 15 Aug 2011 09:16:02 +0000 (09:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@24065 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/block_indices.h

index ca481c2e9b1678192764792368221cc6b023c82b..3a4720d1c6be2229331e05fde8101c3af6bd5f5a 100644 (file)
@@ -16,6 +16,7 @@
 #include <deal.II/base/config.h>
 #include <deal.II/base/subscriptor.h>
 #include <deal.II/base/exceptions.h>
+#include <deal.II/base/logstream.h>
 #include <vector>
 
 DEAL_II_NAMESPACE_OPEN
@@ -210,9 +211,9 @@ class BlockIndices : public Subscriptor
  * @author Guido Kanschat
  * @date 2011 
  */
-template <class STREAM>
-STREAM&
-operator << (STREAM& s, const BlockIndices& bi)
+inline
+LogStream&
+operator << (LogStream& s, const BlockIndices& bi)
 {
   const unsigned int n = bi.size();
   s << n << ":[";

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.