]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Boost: undo header adjustments
authorMatthias Maier <tamiko@43-1.org>
Mon, 6 Dec 2021 20:22:30 +0000 (14:22 -0600)
committerMatthias Maier <tamiko@43-1.org>
Mon, 6 Dec 2021 20:22:30 +0000 (14:22 -0600)
This little trick does not solve the problem

include/deal.II/base/bounding_box_data_out.h
include/deal.II/numerics/rtree.h

index 6f1245dbeb8bd1d32f082c45723c5a475dfb7d24..7fc0c29262a63801f491fc8c7943e96ca44ae9b0 100644 (file)
@@ -32,10 +32,10 @@ DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #  define BOOST_ALLOW_DEPRECATED_HEADERS
 #endif
 #include <boost/geometry/index/rtree.hpp>
+#include <boost/geometry/strategies/strategies.hpp>
 #ifdef DEAL_II_BOOST_HAS_BROKEN_HEADER_DEPRECATIONS
 #  undef BOOST_ALLOW_DEPRECATED_HEADERS
 #endif
-#include <boost/geometry/strategies/strategies.hpp>
 DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 
 
index 688a44ab9756e9c67fcd946b1a0cc55249349d9f..c4e9d3041f39b571ca66ecd856bb09bacba0f469 100644 (file)
 #include <deal.II/boost_adaptors/segment.h>
 
 DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
-#include <boost/geometry/strategies/strategies.hpp>
-/*
- * For boost 1.77 compatibility we need to include strategies.hpp before we
- * can include rtree.hpp. Otherwise a compilation error within boost
- * headers is encountered.
- */
 #ifdef DEAL_II_BOOST_HAS_BROKEN_HEADER_DEPRECATIONS
 #  define BOOST_ALLOW_DEPRECATED_HEADERS
 #endif
 #include <boost/geometry/index/rtree.hpp>
+#include <boost/geometry/strategies/strategies.hpp>
 #ifdef DEAL_II_BOOST_HAS_BROKEN_HEADER_DEPRECATIONS
 #  undef BOOST_ALLOW_DEPRECATED_HEADERS
 #endif

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.