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 Jun 2, 2017
1 parent 9ad0fb4 commit 384d4b4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,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 @@ -191,6 +193,7 @@ struct traversal
inline bool is_visited(turn_type const& , turn_operation_type const& op,
signed_size_type , int) const
{
boost::ignore_unused(turn, turn_index, op_index);
return op.visited.visited();
}

Expand Down

0 comments on commit 384d4b4

Please sign in to comment.