mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-01 08:32:10 +00:00
[algorithms][strategies][util] Fix unused parameter warnings.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// Boost.Geometry (aka GGL, Generic Geometry Library)
|
||||
|
||||
// Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands.
|
||||
// Copyright (c) 2017 Adam Wulkiewicz, Lodz, Poland.
|
||||
|
||||
// This file was modified by Oracle on 2014, 2017.
|
||||
// Modifications copyright (c) 2014-2017 Oracle and/or its affiliates.
|
||||
@@ -59,7 +60,7 @@ template
|
||||
typename Polygon,
|
||||
typename PtInPolyStrategy
|
||||
>
|
||||
static inline bool last_covered_by(Turn const& turn, Operation const& op,
|
||||
static inline bool last_covered_by(Turn const& /*turn*/, Operation const& op,
|
||||
LineString const& linestring, Polygon const& polygon,
|
||||
PtInPolyStrategy const& strategy)
|
||||
{
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// Boost.Geometry (aka GGL, Generic Geometry Library)
|
||||
|
||||
// Copyright (c) 2017 Barend Gehrels, Amsterdam, the Netherlands.
|
||||
// Copyright (c) 2017 Adam Wulkiewicz, Lodz, Poland.
|
||||
|
||||
// Use, modification and distribution is subject to the Boost Software License,
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
@@ -74,7 +75,7 @@ struct discard_closed_turns<overlay_union, operation_union>
|
||||
|
||||
template <typename Turns, typename Clusters, typename Geometry0, typename Geometry1>
|
||||
static inline
|
||||
void apply(Turns& turns, Clusters const& clusters,
|
||||
void apply(Turns& turns, Clusters const& /*clusters*/,
|
||||
Geometry0 const& geometry0, Geometry1 const& geometry1)
|
||||
{
|
||||
typedef typename boost::range_value<Turns>::type turn_type;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// Boost.Geometry (aka GGL, Generic Geometry Library)
|
||||
|
||||
// Copyright (c) 2017-2017 Barend Gehrels, Amsterdam, the Netherlands.
|
||||
// Copyright (c) 2017 Adam Wulkiewicz, Lodz, Poland.
|
||||
|
||||
// Use, modification and distribution is subject to the Boost Software License,
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
@@ -34,7 +35,7 @@ template <>
|
||||
struct is_self_turn_check<overlay_buffer>
|
||||
{
|
||||
template <typename Turn>
|
||||
static inline bool apply(Turn const& turn)
|
||||
static inline bool apply(Turn const& /*turn*/)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@@ -44,7 +45,7 @@ template <>
|
||||
struct is_self_turn_check<overlay_dissolve_union>
|
||||
{
|
||||
template <typename Turn>
|
||||
static inline bool apply(Turn const& turn)
|
||||
static inline bool apply(Turn const& /*turn*/)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@@ -54,7 +55,7 @@ template <>
|
||||
struct is_self_turn_check<overlay_dissolve_intersection>
|
||||
{
|
||||
template <typename Turn>
|
||||
static inline bool apply(Turn const& turn)
|
||||
static inline bool apply(Turn const& /*turn*/)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Boost.Geometry (aka GGL, Generic Geometry Library)
|
||||
|
||||
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
|
||||
// Copyright (c) 2013 Adam Wulkiewicz, Lodz, Poland.
|
||||
// Copyright (c) 2013-2017 Adam Wulkiewicz, Lodz, Poland.
|
||||
|
||||
// This file was modified by Oracle on 2013, 2014, 2016, 2017.
|
||||
// Modifications copyright (c) 2013-2017 Oracle and/or its affiliates.
|
||||
@@ -169,7 +169,7 @@ public:
|
||||
int side = 0;
|
||||
if (ci.count == 1 || ci.count == -1)
|
||||
{
|
||||
side = side_equal(point, eq1 ? s1 : s2, ci, s1, s2);
|
||||
side = side_equal(point, eq1 ? s1 : s2, ci);
|
||||
}
|
||||
else // count == 2 || count == -2
|
||||
{
|
||||
@@ -431,8 +431,7 @@ private:
|
||||
// but the point is not aligned with a vertical segment
|
||||
inline int side_equal(Point const& point,
|
||||
PointOfSegment const& se,
|
||||
count_info const& ci,
|
||||
PointOfSegment const& s1, PointOfSegment const& s2) const
|
||||
count_info const& ci) const
|
||||
{
|
||||
typedef typename coordinate_type<PointOfSegment>::type scoord_t;
|
||||
typedef typename coordinate_system<PointOfSegment>::type::units units_t;
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
// Boost.Geometry (aka GGL, Generic Geometry Library)
|
||||
|
||||
// Copyright (c) 2017 Adam Wulkiewicz, Lodz, Poland.
|
||||
|
||||
// Copyright (c) 2015-2017, Oracle and/or its affiliates.
|
||||
|
||||
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
|
||||
@@ -198,7 +200,7 @@ template <typename Units, bool IsEquatorial>
|
||||
struct latitude_convert_if_polar
|
||||
{
|
||||
template <typename T>
|
||||
static inline void apply(T & lat) {}
|
||||
static inline void apply(T & /*lat*/) {}
|
||||
};
|
||||
|
||||
template <typename Units>
|
||||
|
||||
Reference in New Issue
Block a user