]> 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)
committerDavid Wells <drwells@email.unc.edu>
Thu, 6 Jan 2022 15:29:36 +0000 (10:29 -0500)
This little trick does not solve the problem

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

index 9fb382ff1ea48f009bcd1eddd6f29d8c046fcaec..4aca964eba014424c1f6cf623943b379f2d9b65e 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 32fbca762102cdf7bd85a991e502edc3debda7b0..68fa11e2e365291c339a06f19cf94f9afa15fb5d 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.