From b8cf34c691623e4ec329053cbbf68522a855882d Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Thu, 5 Dec 2019 15:12:59 +0900 Subject: Imported Upstream version 1.67.0 --- boost/geometry/algorithms/detail/is_valid/ring.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'boost/geometry/algorithms/detail/is_valid/ring.hpp') diff --git a/boost/geometry/algorithms/detail/is_valid/ring.hpp b/boost/geometry/algorithms/detail/is_valid/ring.hpp index 0b95950430..40698155b5 100644 --- a/boost/geometry/algorithms/detail/is_valid/ring.hpp +++ b/boost/geometry/algorithms/detail/is_valid/ring.hpp @@ -1,5 +1,7 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// Copyright (c) 2017 Adam Wulkiewicz, Lodz, Poland. + // Copyright (c) 2014-2017, Oracle and/or its affiliates. // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle @@ -107,8 +109,6 @@ struct is_properly_oriented { boost::ignore_unused(visitor); - typedef typename point_type::type point_type; - typedef detail::area::ring_area < order_as_direction::value>::value, @@ -117,8 +117,8 @@ struct is_properly_oriented typedef typename Strategy::template area_strategy < - point_type - >::type::return_type area_result_type; + Ring + >::type::template result_type::type area_result_type; typename ring_area_predicate < @@ -129,7 +129,7 @@ struct is_properly_oriented area_result_type const zero = 0; area_result_type const area = ring_area_type::apply(ring, - strategy.template get_area_strategy()); + strategy.template get_area_strategy()); if (predicate(area, zero)) { return visitor.template apply(); -- cgit v1.2.3