From: loylick <KokomovAlex@gmail.com>
Date: Mon, 8 Aug 2016 01:01:16 +0000 (+0300)
Subject: Fixed linker error under VS2013, moved definition of format_version varible from... 
X-Git-Tag: v8.4.2-rc1~3^2~1
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51677700f3f56da4a0333b477f6ae6173e607608;p=dealii.git

Fixed linker error under VS2013, moved definition of format_version varible from a header to cc file.
---

diff --git a/include/deal.II/base/data_out_base.h b/include/deal.II/base/data_out_base.h
index 1c1eea79c5..b8b47a160c 100644
--- a/include/deal.II/base/data_out_base.h
+++ b/include/deal.II/base/data_out_base.h
@@ -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;
   };
 
   /**
diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc
index 8e5a78bbd7..0d46dc9ff5 100644
--- a/source/base/data_out_base.cc
+++ b/source/base/data_out_base.cc
@@ -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;