From: Timo Heister Date: Wed, 1 Apr 2020 19:56:39 +0000 (-0400) Subject: remove boost/geometry.hpp from Point X-Git-Tag: v9.2.0-rc1~316^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5ea0d02a7012a610453135d0d924fbe16e8578b;p=dealii.git remove boost/geometry.hpp from Point We are including point.h in large parts of deal.II and the boost/geometry/ header is a shortcut to include all of boost geometry. Instead, only selectively include the parts we actually need. This should speed up compilation of deal.II. --- diff --git a/include/deal.II/base/bounding_box.h b/include/deal.II/base/bounding_box.h index 9dfc5302b7..60ee0bb4a4 100644 --- a/include/deal.II/base/bounding_box.h +++ b/include/deal.II/base/bounding_box.h @@ -23,6 +23,11 @@ #include #include +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS +#include +#include +DEAL_II_ENABLE_EXTRA_DIAGNOSTICS + DEAL_II_NAMESPACE_OPEN /** diff --git a/include/deal.II/base/point.h b/include/deal.II/base/point.h index d6a109c10e..04199d064d 100644 --- a/include/deal.II/base/point.h +++ b/include/deal.II/base/point.h @@ -23,7 +23,8 @@ #include DEAL_II_DISABLE_EXTRA_DIAGNOSTICS -#include +#include +#include DEAL_II_ENABLE_EXTRA_DIAGNOSTICS #include diff --git a/source/base/utilities.cc b/source/base/utilities.cc index f09f322969..d809793fa9 100644 --- a/source/base/utilities.cc +++ b/source/base/utilities.cc @@ -30,6 +30,7 @@ DEAL_II_DISABLE_EXTRA_DIAGNOSTICS #include +#include #include DEAL_II_ENABLE_EXTRA_DIAGNOSTICS