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

index e95319a80094e1a0c057c8ad421276e1db329367..b26d3f606be4c83c1b7c8469789c17a26569e117 100644 (file)
@@ -192,6 +192,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>
@@ -204,6 +205,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.