From: Daniel Arndt Date: Thu, 2 Apr 2020 17:55:33 +0000 (-0400) Subject: Minimize boost/geometry.h includes X-Git-Tag: v9.2.0-rc1~313^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9800%2Fhead;p=dealii.git Minimize boost/geometry.h includes --- diff --git a/include/deal.II/boost_adaptors/bounding_box.h b/include/deal.II/boost_adaptors/bounding_box.h index 45876c52df..68b29cf93f 100644 --- a/include/deal.II/boost_adaptors/bounding_box.h +++ b/include/deal.II/boost_adaptors/bounding_box.h @@ -22,8 +22,6 @@ #include -#include -#include namespace boost { diff --git a/include/deal.II/boost_adaptors/point.h b/include/deal.II/boost_adaptors/point.h index b0691ca943..f60bb62c1e 100644 --- a/include/deal.II/boost_adaptors/point.h +++ b/include/deal.II/boost_adaptors/point.h @@ -20,9 +20,6 @@ #include -#include - - namespace boost { namespace geometry diff --git a/include/deal.II/boost_adaptors/segment.h b/include/deal.II/boost_adaptors/segment.h index f61f9769b2..97ad3201f7 100644 --- a/include/deal.II/boost_adaptors/segment.h +++ b/include/deal.II/boost_adaptors/segment.h @@ -22,7 +22,7 @@ #include -#include +#include DEAL_II_NAMESPACE_OPEN diff --git a/include/deal.II/numerics/rtree.h b/include/deal.II/numerics/rtree.h index 5f8d80cb84..3a90eedd3d 100644 --- a/include/deal.II/numerics/rtree.h +++ b/include/deal.II/numerics/rtree.h @@ -24,7 +24,10 @@ #include #include -#include +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS +#include +#include +DEAL_II_ENABLE_EXTRA_DIAGNOSTICS #include diff --git a/source/grid/grid_tools_cache.cc b/source/grid/grid_tools_cache.cc index 938ca9d725..6b3d842a87 100644 --- a/source/grid/grid_tools_cache.cc +++ b/source/grid/grid_tools_cache.cc @@ -20,8 +20,6 @@ #include #include -#include - DEAL_II_NAMESPACE_OPEN namespace GridTools diff --git a/tests/base/point_04.cc b/tests/base/point_04.cc index 7a7c8eaae4..91d3b207cc 100644 --- a/tests/base/point_04.cc +++ b/tests/base/point_04.cc @@ -20,8 +20,6 @@ #include -#include - #include "../tests.h" namespace bg = boost::geometry; diff --git a/tests/boost/bounding_box_adaptor_01.cc b/tests/boost/bounding_box_adaptor_01.cc index 6d25b7a198..5a866328bb 100644 --- a/tests/boost/bounding_box_adaptor_01.cc +++ b/tests/boost/bounding_box_adaptor_01.cc @@ -17,6 +17,8 @@ #include +#include + #include "../tests.h" namespace bg = boost::geometry; diff --git a/tests/boost/point_adaptor_01.cc b/tests/boost/point_adaptor_01.cc index ebb17e0c6f..4eec9fbf23 100644 --- a/tests/boost/point_adaptor_01.cc +++ b/tests/boost/point_adaptor_01.cc @@ -17,6 +17,9 @@ #include +#include +#include + #include "../tests.h" namespace bg = boost::geometry; diff --git a/tests/boost/rtree_01.cc b/tests/boost/rtree_01.cc index 56b2711fe8..4acfd6a64d 100644 --- a/tests/boost/rtree_01.cc +++ b/tests/boost/rtree_01.cc @@ -19,6 +19,9 @@ #include +#include +#include + #include #include "../tests.h"