]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Exclude extern declaration from MS VC consideration. 14701/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 20 Jan 2023 22:00:40 +0000 (15:00 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 20 Jan 2023 22:00:40 +0000 (15:00 -0700)
include/deal.II/hp/mapping_collection.h

index 4774d6241055af1c82f1a6431ba8b3b5f81638d6..cebbeb132b436996615cabbbd8149678c547cb32 100644 (file)
@@ -193,6 +193,7 @@ namespace hp
   extern template struct StaticMappingQ1<2, 3>;
   extern template struct StaticMappingQ1<3, 3>;
 
+#  ifndef _MSC_VER
   extern template MappingCollection<1, 1>
     StaticMappingQ1<1, 1>::mapping_collection;
   extern template MappingCollection<1, 2>
@@ -205,6 +206,7 @@ namespace hp
     StaticMappingQ1<2, 3>::mapping_collection;
   extern template MappingCollection<3, 3>
     StaticMappingQ1<3, 3>::mapping_collection;
+#  endif
 #endif
 
 } // namespace hp

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.