Skip to content

Commit

Permalink
[overlay] fix unused warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Kovalev committed Jan 9, 2017
1 parent f0b7636 commit d863476
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include <boost/geometry/core/access.hpp>
#include <boost/geometry/core/assert.hpp>

#include <boost/core/ignore_unused.hpp>

#if defined(BOOST_GEOMETRY_DEBUG_INTERSECTION) \
|| defined(BOOST_GEOMETRY_OVERLAY_REPORT_WKT) \
|| defined(BOOST_GEOMETRY_DEBUG_TRAVERSE)
Expand Down Expand Up @@ -155,6 +157,7 @@ struct traversal
inline bool is_visited(turn_type const& turn, turn_operation_type const& op,
signed_size_type turn_index, int op_index) const
{
boost::ignore_unused(turn, turn_index, op_index);
return op.visited.visited();
}

Expand Down

0 comments on commit d863476

Please sign in to comment.