]> 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)
committerMatthias Maier <tamiko@43-1.org>
Wed, 31 Aug 2016 22:40:01 +0000 (17:40 -0500)
include/deal.II/base/data_out_base.h
source/base/data_out_base.cc

index 1c1eea79c5109b25b34b9846df309d6892e25240..b8b47a160c9df20308908ba6f45e17b0ec5f07fc 100644 (file)
@@ -994,7 +994,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 8e5a78bbd70e1fd700d48ee56003347700a14d60..0d46dc9ff5123af6b53decdeed67ef8354d2a435 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.