mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-11 11:52:11 +00:00
[is_valid] Fix unused variable warnings.
This commit is contained in:
@@ -46,7 +46,7 @@ struct has_valid_corners
|
||||
template <typename Box>
|
||||
struct has_valid_corners<Box, 0>
|
||||
{
|
||||
static inline bool apply(Box const& box)
|
||||
static inline bool apply(Box const& /*box*/)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -51,8 +51,8 @@ inline void debug_print_complement_graph(OutputStream& os,
|
||||
}
|
||||
#else
|
||||
template <typename OutputStream, typename Vertex>
|
||||
void debug_print_complement_graph(OutputStream& os,
|
||||
complement_graph<Vertex> const& graph)
|
||||
void debug_print_complement_graph(OutputStream& /*os*/,
|
||||
complement_graph<Vertex> const& /*graph*/)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -24,11 +24,10 @@ namespace boost { namespace geometry
|
||||
namespace detail { namespace is_valid
|
||||
{
|
||||
|
||||
|
||||
#ifdef GEOMETRY_TEST_DEBUG
|
||||
template <typename TurnIterator>
|
||||
inline void debug_print_turns(TurnIterator first, TurnIterator beyond)
|
||||
{
|
||||
#ifdef GEOMETRY_TEST_DEBUG
|
||||
std::cout << "turns:";
|
||||
for (TurnIterator tit = first; tit != beyond; ++tit)
|
||||
{
|
||||
@@ -51,9 +50,12 @@ inline void debug_print_turns(TurnIterator first, TurnIterator beyond)
|
||||
<< "]";
|
||||
}
|
||||
std::cout << std::endl << std::endl;
|
||||
#endif // GEOMETRY_TEST_DEBUG
|
||||
}
|
||||
|
||||
#else
|
||||
template <typename TurnIterator>
|
||||
inline void debug_print_turns(TurnIterator /*first*/, TurnIterator /*beyond*/)
|
||||
{}
|
||||
#endif // GEOMETRY_TEST_DEBUG
|
||||
|
||||
}} // namespace detail::is_valid
|
||||
|
||||
|
||||
Reference in New Issue
Block a user