]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add inclusion guards around instantiation that requires OpenCascade. 6478/head
authorJean-Paul Pelteret <jppelteret@gmail.com>
Sat, 5 May 2018 14:31:29 +0000 (16:31 +0200)
committerMatthias Maier <tamiko@43-1.org>
Sat, 5 May 2018 15:05:31 +0000 (10:05 -0500)
source/gmsh/utilities.cc

index c020c77630fc0789c50a2a0061709d3eee5e1ba1..6c8bb458856db671a2a98d92047df91e3fe000e9 100644 (file)
@@ -127,7 +127,10 @@ namespace Gmsh
   }
 #endif
 
+  // explicit instantiations
+#ifdef DEAL_II_WITH_OPENCASCADE
 #include "utilities.inst"
+#endif
 }
 
 DEAL_II_NAMESPACE_CLOSE

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.