From 441ef156576fa67659d25f8d2ffaf183cbfac22c Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Fri, 17 Oct 2014 02:43:56 +0200 Subject: [PATCH] [relate] Fix uninitialized const object error. --- include/boost/geometry/algorithms/detail/relate/turns.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/geometry/algorithms/detail/relate/turns.hpp b/include/boost/geometry/algorithms/detail/relate/turns.hpp index cef9b81ef..a2e56a888 100644 --- a/include/boost/geometry/algorithms/detail/relate/turns.hpp +++ b/include/boost/geometry/algorithms/detail/relate/turns.hpp @@ -228,7 +228,7 @@ struct less template static inline bool use_fraction(Turn const& left, Turn const& right) { - static const LessOp less_op; + static LessOp less_op; return left.operations[OpId].fraction < right.operations[OpId].fraction || ( left.operations[OpId].fraction == right.operations[OpId].fraction