From c0df65a20972ef3eaefdcfa5d1f17827fa5bc32c Mon Sep 17 00:00:00 2001 From: Samuel Debione Date: Fri, 25 Apr 2014 12:19:46 +0200 Subject: [PATCH] Fix get_turn_info Fix template parameter order in side_calculator call (would fail with different point types). --- .../boost/geometry/algorithms/detail/overlay/get_turn_info.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp b/include/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp index ee75e60dd..a7238183d 100644 --- a/include/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp +++ b/include/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp @@ -1019,7 +1019,7 @@ struct get_turn_info else { // Swap p/q - side_calculator swapped_side_calc(qi, qj, qk, pi, pj, pk); + side_calculator swapped_side_calc(qi, qj, qk, pi, pj, pk); policy::template apply<1>(qi, qj, qk, pi, pj, pk, tp, result.template get<0>(), result.template get<1>(), swapped_side_calc);