Skip to content

Commit

Permalink
Merge pull request #13049 from tamiko/suppress_boost_warning
Browse files Browse the repository at this point in the history
avoid another boost deprecated headers warning
  • Loading branch information
bangerth committed Dec 9, 2021
2 parents ab2a08e + 11cc9fa commit d1509d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/fe/mapping.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@
#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
Expand Down

0 comments on commit d1509d7

Please sign in to comment.