diff options
Diffstat (limited to 'boost/geometry/algorithms/detail/overlay/is_self_turn.hpp')
-rw-r--r-- | boost/geometry/algorithms/detail/overlay/is_self_turn.hpp | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/boost/geometry/algorithms/detail/overlay/is_self_turn.hpp b/boost/geometry/algorithms/detail/overlay/is_self_turn.hpp index 9423a24b33..448c04404f 100644 --- a/boost/geometry/algorithms/detail/overlay/is_self_turn.hpp +++ b/boost/geometry/algorithms/detail/overlay/is_self_turn.hpp @@ -1,6 +1,7 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2017-2017 Barend Gehrels, Amsterdam, the Netherlands. +// Copyright (c) 2017 Adam Wulkiewicz, Lodz, Poland. // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at @@ -34,27 +35,17 @@ template <> struct is_self_turn_check<overlay_buffer> { template <typename Turn> - static inline bool apply(Turn const& turn) + static inline bool apply(Turn const& /*turn*/) { return false; } }; template <> -struct is_self_turn_check<overlay_dissolve_union> +struct is_self_turn_check<overlay_dissolve> { template <typename Turn> - static inline bool apply(Turn const& turn) - { - return false; - } -}; - -template <> -struct is_self_turn_check<overlay_dissolve_intersection> -{ - template <typename Turn> - static inline bool apply(Turn const& turn) + static inline bool apply(Turn const& /*turn*/) { return false; } |