From 676aa45c6ca4ecb3e98f86b364efd95dc406818b Mon Sep 17 00:00:00 2001 From: barendgehrels Date: Wed, 22 Feb 2017 09:40:44 +0100 Subject: [PATCH] Minor changes --- .../detail/overlay/enrich_intersection_points.hpp | 6 ++++-- .../boost/geometry/algorithms/detail/overlay/get_turns.hpp | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp b/include/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp index 66b756880..ee0556bc7 100644 --- a/include/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp +++ b/include/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp @@ -19,7 +19,9 @@ # include # include # include -# define BOOST_GEOMETRY_DEBUG_IDENTIFIER +# if ! defined(BOOST_GEOMETRY_DEBUG_IDENTIFIER) +# define BOOST_GEOMETRY_DEBUG_IDENTIFIER + #endif #endif #include @@ -145,7 +147,7 @@ inline void enrich_assign(Operations& operations, Turns& turns) it != boost::end(operations); ++it) { - op_type& op = turns[it->turn_index] + op_type const& op = turns[it->turn_index] .operations[it->operation_index]; std::cout << it->turn_index diff --git a/include/boost/geometry/algorithms/detail/overlay/get_turns.hpp b/include/boost/geometry/algorithms/detail/overlay/get_turns.hpp index 6ea96352b..ce016f076 100644 --- a/include/boost/geometry/algorithms/detail/overlay/get_turns.hpp +++ b/include/boost/geometry/algorithms/detail/overlay/get_turns.hpp @@ -91,6 +91,7 @@ struct no_interrupt_policy { static bool const enabled = false; + // variable required by self_get_turn_points::get_turns static bool const has_intersections = false; template