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 18, 2017
1 parent f4bc9c6 commit 84ee247
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 @@ -156,6 +158,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 84ee247

Please sign in to comment.