mirror of
https://github.com/boostorg/geometry.git
synced 2026-01-30 07:52:09 +00:00
Merge pull request #645 from vissarion/fix/Wunused-parameter
fixing `Wunused-parameter` warnings
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user