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();