mirror of
https://github.com/boostorg/geometry.git
synced 2026-01-29 19:42:10 +00:00
Remove unused parameters (#608)
[algorithms] Remove unused parameters * [algorithms] Use ignore unused instead of macros * [algorithms] Use ignore unused instead of macros 2
This commit is contained in:
committed by
GitHub
parent
5a13eea5ed
commit
c92ccab382
@@ -153,12 +153,14 @@ struct base_turn_handler
|
||||
typename UmbrellaStrategy,
|
||||
typename TurnInfo
|
||||
>
|
||||
static inline void both_collinear(UniqueSubRange1 const& range_p,
|
||||
static inline void both_collinear(
|
||||
UniqueSubRange1 const& range_p,
|
||||
UniqueSubRange2 const& range_q,
|
||||
UmbrellaStrategy const& umbrella_strategy,
|
||||
UmbrellaStrategy const&,
|
||||
std::size_t index_p, std::size_t index_q,
|
||||
TurnInfo& ti)
|
||||
{
|
||||
boost::ignore_unused(range_p, range_q);
|
||||
BOOST_GEOMETRY_ASSERT(IndexP + IndexQ == 1);
|
||||
BOOST_GEOMETRY_ASSERT(index_p > 0 && index_p <= 2);
|
||||
BOOST_GEOMETRY_ASSERT(index_q > 0 && index_q <= 2);
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace boost { namespace geometry { namespace index { namespace detail {
|
||||
|
||||
// Util to distinguish between default and non-default index strategy
|
||||
template <typename Box, typename Strategy>
|
||||
inline bool disjoint_box_box(Box const& box1, Box const& box2, Strategy const& strategy)
|
||||
inline bool disjoint_box_box(Box const& box1, Box const& box2, Strategy const&)
|
||||
{
|
||||
return geometry::detail::disjoint::disjoint_box_box(box1, box2,
|
||||
typename Strategy::disjoint_box_box_strategy_type());
|
||||
|
||||
@@ -304,7 +304,7 @@ struct strategy_type< parameters<Parameters, Strategy> >
|
||||
template <typename Parameters>
|
||||
struct get_strategy_impl
|
||||
{
|
||||
static inline default_strategy apply(Parameters const& parameters)
|
||||
static inline default_strategy apply(Parameters const&)
|
||||
{
|
||||
return default_strategy();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user