From: Matthias Maier Date: Wed, 8 Dec 2021 23:16:53 +0000 (-0600) Subject: avoid another boost deprecated headers warning X-Git-Tag: v9.4.0-rc1~759^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13049%2Fhead;p=dealii.git avoid another boost deprecated headers warning --- diff --git a/source/fe/mapping.cc b/source/fe/mapping.cc index 0aeb35b77e..e1b987da92 100644 --- a/source/fe/mapping.cc +++ b/source/fe/mapping.cc @@ -21,7 +21,13 @@ #include DEAL_II_DISABLE_EXTRA_DIAGNOSTICS +#ifdef DEAL_II_BOOST_HAS_BROKEN_HEADER_DEPRECATIONS +# define BOOST_ALLOW_DEPRECATED_HEADERS +#endif #include +#ifdef DEAL_II_BOOST_HAS_BROKEN_HEADER_DEPRECATIONS +# undef BOOST_ALLOW_DEPRECATED_HEADERS +#endif DEAL_II_ENABLE_EXTRA_DIAGNOSTICS DEAL_II_NAMESPACE_OPEN