From 46e3d9231c2353b323796b6423f13cd61e0d585c Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Mon, 19 Jul 2021 15:10:12 +0200 Subject: [PATCH] [algorithms][formulas][strategies] Add missing includes. --- .../geometry/algorithms/detail/disjoint/box_box.hpp | 9 +++------ .../geometry/algorithms/detail/disjoint/point_box.hpp | 10 +++++----- include/boost/geometry/algorithms/line_interpolate.hpp | 3 ++- .../geometry/formulas/interpolate_point_spherical.hpp | 5 ++++- .../strategies/line_interpolate/geographic.hpp | 3 ++- 5 files changed, 16 insertions(+), 14 deletions(-) diff --git a/include/boost/geometry/algorithms/detail/disjoint/box_box.hpp b/include/boost/geometry/algorithms/detail/disjoint/box_box.hpp index 8092ae4f8..02585b6f0 100644 --- a/include/boost/geometry/algorithms/detail/disjoint/box_box.hpp +++ b/include/boost/geometry/algorithms/detail/disjoint/box_box.hpp @@ -5,9 +5,8 @@ // Copyright (c) 2009-2015 Mateusz Loskot, London, UK. // Copyright (c) 2013-2015 Adam Wulkiewicz, Lodz, Poland. -// This file was modified by Oracle on 2013-2020. -// Modifications copyright (c) 2013-2020, Oracle and/or its affiliates. - +// This file was modified by Oracle on 2013-2021. +// Modifications copyright (c) 2013-2021, Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle @@ -25,9 +24,7 @@ #include -// For backward compatibility -#include -#include +#include namespace boost { namespace geometry { diff --git a/include/boost/geometry/algorithms/detail/disjoint/point_box.hpp b/include/boost/geometry/algorithms/detail/disjoint/point_box.hpp index 99cdda9ed..186f48feb 100644 --- a/include/boost/geometry/algorithms/detail/disjoint/point_box.hpp +++ b/include/boost/geometry/algorithms/detail/disjoint/point_box.hpp @@ -5,9 +5,8 @@ // Copyright (c) 2009-2015 Mateusz Loskot, London, UK. // Copyright (c) 2013-2015 Adam Wulkiewicz, Lodz, Poland -// This file was modified by Oracle on 2013-2020. -// Modifications copyright (c) 2013-2020, Oracle and/or its affiliates. - +// This file was modified by Oracle on 2013-2021. +// Modifications copyright (c) 2013-2021, Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle @@ -23,12 +22,13 @@ #include +#include + #include #include #include -#include -#include +#include namespace boost { namespace geometry { diff --git a/include/boost/geometry/algorithms/line_interpolate.hpp b/include/boost/geometry/algorithms/line_interpolate.hpp index 05a55a7c2..a3b4b2ba8 100644 --- a/include/boost/geometry/algorithms/line_interpolate.hpp +++ b/include/boost/geometry/algorithms/line_interpolate.hpp @@ -1,7 +1,6 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2018-2021 Oracle and/or its affiliates. - // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle @@ -19,6 +18,8 @@ #include #include #include +#include +#include #include #include diff --git a/include/boost/geometry/formulas/interpolate_point_spherical.hpp b/include/boost/geometry/formulas/interpolate_point_spherical.hpp index 7141a5a9f..2e712d44c 100644 --- a/include/boost/geometry/formulas/interpolate_point_spherical.hpp +++ b/include/boost/geometry/formulas/interpolate_point_spherical.hpp @@ -1,6 +1,6 @@ // Boost.Geometry -// Copyright (c) 2019 Oracle and/or its affiliates. +// Copyright (c) 2019-2021 Oracle and/or its affiliates. // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle @@ -12,6 +12,9 @@ #ifndef BOOST_GEOMETRY_FORMULAS_INTERPOLATE_POINT_SPHERICAL_HPP #define BOOST_GEOMETRY_FORMULAS_INTERPOLATE_POINT_SPHERICAL_HPP +#include +#include + namespace boost { namespace geometry { namespace formula { diff --git a/include/boost/geometry/strategies/line_interpolate/geographic.hpp b/include/boost/geometry/strategies/line_interpolate/geographic.hpp index 5d57ea378..048f81c2c 100644 --- a/include/boost/geometry/strategies/line_interpolate/geographic.hpp +++ b/include/boost/geometry/strategies/line_interpolate/geographic.hpp @@ -1,7 +1,6 @@ // Boost.Geometry // Copyright (c) 2021, Oracle and/or its affiliates. - // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Licensed under the Boost Software License version 1.0. @@ -13,6 +12,8 @@ #include +#include + #include #include