]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed linker error under VS2013, moved definition of format_version varible from...
authorloylick <KokomovAlex@gmail.com>
Mon, 8 Aug 2016 01:01:16 +0000 (04:01 +0300)
committerloylick <KokomovAlex@gmail.com>
Mon, 8 Aug 2016 01:01:16 +0000 (04:01 +0300)
include/deal.II/base/data_out_base.h
source/base/data_out_base.cc

index 6ad27211e9443094ec97c5fc1828f3a270b610c5..cc8d8020e6b44e4296e1410a574236cbbf09466d 100644 (file)
@@ -1035,7 +1035,7 @@ namespace DataOutBase
      * this number is used only to verify that the format we are writing is
      * what the current readers and writers understand.
      */
-    static const unsigned int format_version = 3;
+    static unsigned int format_version;
   };
 
   /**
index 8fd02d8dc37a2b3ca4e3e6f51b981f2841071829..4f15f9e178bcbc3c92d24d630138a9f3493c00c2 100644 (file)
@@ -1501,7 +1501,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   const unsigned int Patch<dim,spacedim>::space_dim;
 
-  const unsigned int Deal_II_IntermediateFlags::format_version;
+  unsigned int Deal_II_IntermediateFlags::format_version = 3;
 
 
 

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.