[srs] Add missing include and fix unused variable warnings.

This commit is contained in:
Adam Wulkiewicz
2018-03-15 18:39:46 +01:00
parent 4c2753701e
commit ffa8c32856
3 changed files with 1 additions and 3 deletions

View File

@@ -145,8 +145,6 @@ namespace projections
template <typename T, typename Par, typename ProjParm>
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>();
T c;
if ((c = boost::math::hypot(xy_x, xy_y)) < EPS10) {

View File

@@ -60,6 +60,7 @@
#include <boost/geometry/srs/projections/impl/base_dynamic.hpp>
#include <boost/geometry/srs/projections/impl/projects.hpp>
#include <boost/geometry/srs/projections/impl/factory_entry.hpp>
#include <boost/geometry/srs/projections/impl/function_overloads.hpp>
namespace boost { namespace geometry
{

View File

@@ -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<T>();
static const T HALFPI = detail::HALFPI<T>();
static const T FORTPI = detail::FORTPI<T>();