From ffa8c3285668d2d68e12334eba65108a6161ea2d Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 15 Mar 2018 18:39:46 +0100 Subject: [PATCH] [srs] Add missing include and fix unused variable warnings. --- include/boost/geometry/srs/projections/proj/aeqd.hpp | 2 -- include/boost/geometry/srs/projections/proj/etmerc.hpp | 1 + include/boost/geometry/srs/projections/proj/healpix.hpp | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/boost/geometry/srs/projections/proj/aeqd.hpp b/include/boost/geometry/srs/projections/proj/aeqd.hpp index de0b0b71c..b825759df 100644 --- a/include/boost/geometry/srs/projections/proj/aeqd.hpp +++ b/include/boost/geometry/srs/projections/proj/aeqd.hpp @@ -145,8 +145,6 @@ namespace projections template inline void e_inverse(T& xy_x, T& xy_y, T& lp_lon, T& lp_lat, Par const& par, ProjParm const& proj_parm) { - static const T HALFPI = detail::HALFPI(); - T c; if ((c = boost::math::hypot(xy_x, xy_y)) < EPS10) { diff --git a/include/boost/geometry/srs/projections/proj/etmerc.hpp b/include/boost/geometry/srs/projections/proj/etmerc.hpp index adceaded4..d63391012 100644 --- a/include/boost/geometry/srs/projections/proj/etmerc.hpp +++ b/include/boost/geometry/srs/projections/proj/etmerc.hpp @@ -60,6 +60,7 @@ #include #include #include +#include namespace boost { namespace geometry { diff --git a/include/boost/geometry/srs/projections/proj/healpix.hpp b/include/boost/geometry/srs/projections/proj/healpix.hpp index e4d106833..c1f429fe5 100644 --- a/include/boost/geometry/srs/projections/proj/healpix.hpp +++ b/include/boost/geometry/srs/projections/proj/healpix.hpp @@ -488,7 +488,6 @@ namespace projections inline void combine_caps(T& xy_x, T& xy_y, int north_square, int south_square, int inverse) { - static const T ONEPI = detail::ONEPI(); static const T HALFPI = detail::HALFPI(); static const T FORTPI = detail::FORTPI();