From 9b7ddf85cc9600d4695c535c7f9f1f56c7b22161 Mon Sep 17 00:00:00 2001 From: Barend Gehrels Date: Wed, 9 Nov 2016 09:30:53 +0100 Subject: [PATCH] [overlay] avoid warning about same_multi1 which is technically redundant because of template parameter values --- .../geometry/algorithms/detail/overlay/handle_colocations.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/boost/geometry/algorithms/detail/overlay/handle_colocations.hpp b/include/boost/geometry/algorithms/detail/overlay/handle_colocations.hpp index cee709a86..5f3857dcd 100644 --- a/include/boost/geometry/algorithms/detail/overlay/handle_colocations.hpp +++ b/include/boost/geometry/algorithms/detail/overlay/handle_colocations.hpp @@ -14,6 +14,7 @@ #include #include +#include #include #include #include @@ -396,6 +397,8 @@ inline bool is_ie_turn(segment_identifier const& ext_seg_0, bool const same_multi1 = ! Reverse1 && ext_seg_1.multi_index == other_seg_1.multi_index; + boost::ignore_unused(same_multi1); + return same_multi0 && same_multi1 && ! is_interior(ext_seg_0)