[strategies] Fixing Wunused-parameter warnings

This commit is contained in:
Vissarion Fisikopoulos
2019-11-19 12:27:44 +02:00
parent b83a65d431
commit 6aadc8f0c7
2 changed files with 5 additions and 2 deletions

View File

@@ -14,6 +14,8 @@
#ifndef BOOST_GEOMETRY_STRATEGIES_CARTESIAN_BUFFER_END_ROUND_HPP
#define BOOST_GEOMETRY_STRATEGIES_CARTESIAN_BUFFER_END_ROUND_HPP
#include <boost/core/ignore_unused.hpp>
#include <boost/geometry/core/cs.hpp>
#include <boost/geometry/strategies/tags.hpp>
#include <boost/geometry/util/math.hpp>
@@ -116,6 +118,7 @@ public :
DistanceStrategy const& distance,
RangeOut& range_out) const
{
boost::ignore_unused(perp_left_point);
typedef typename coordinate_type<Point>::type coordinate_type;
typedef typename geometry::select_most_precise

View File

@@ -74,7 +74,7 @@ template
struct set_point_from_vec<Point, DimensionCount, DimensionCount>
{
template <typename Vector>
static inline void apply(Point &, Vector const& v) {}
static inline void apply(Point &, Vector const&) {}
};
template
@@ -101,7 +101,7 @@ template
struct set_vec_from_point<Point, DimensionCount, DimensionCount>
{
template <typename Vector>
static inline void apply(Point const& p, Vector & v) {}
static inline void apply(Point const&, Vector &) {}
};
template