]> https://gitweb.dealii.org/ - dealii.git/commitdiff
avoid another boost deprecated headers warning 13049/head
authorMatthias Maier <tamiko@43-1.org>
Wed, 8 Dec 2021 23:16:53 +0000 (17:16 -0600)
committerMatthias Maier <tamiko@43-1.org>
Wed, 8 Dec 2021 23:16:53 +0000 (17:16 -0600)
source/fe/mapping.cc

index 0aeb35b77e189de02e6130d16efed44c2e8eec2e..e1b987da924ba95605805cb937588eed350e4483 100644 (file)
 #include <deal.II/grid/tria.h>
 
 DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
+#ifdef DEAL_II_BOOST_HAS_BROKEN_HEADER_DEPRECATIONS
+#  define BOOST_ALLOW_DEPRECATED_HEADERS
+#endif
 #include <boost/geometry.hpp>
+#ifdef DEAL_II_BOOST_HAS_BROKEN_HEADER_DEPRECATIONS
+#  undef BOOST_ALLOW_DEPRECATED_HEADERS
+#endif
 DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 
 DEAL_II_NAMESPACE_OPEN

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.