summaryrefslogtreecommitdiff
path: root/boost/geometry/algorithms/detail/is_valid/complement_graph.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/geometry/algorithms/detail/is_valid/complement_graph.hpp')
-rw-r--r--boost/geometry/algorithms/detail/is_valid/complement_graph.hpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/boost/geometry/algorithms/detail/is_valid/complement_graph.hpp b/boost/geometry/algorithms/detail/is_valid/complement_graph.hpp
index 67a94f1016..9a51d30eb4 100644
--- a/boost/geometry/algorithms/detail/is_valid/complement_graph.hpp
+++ b/boost/geometry/algorithms/detail/is_valid/complement_graph.hpp
@@ -1,7 +1,8 @@
// Boost.Geometry (aka GGL, Generic Geometry Library)
-// Copyright (c) 2014, 2018, 2019, Oracle and/or its affiliates.
+// Copyright (c) 2014-2023, Oracle and/or its affiliates.
+// Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
@@ -32,7 +33,7 @@ namespace detail { namespace is_valid
{
-template <typename TurnPoint, typename CSTag>
+template <typename TurnPoint, typename Strategy>
class complement_graph_vertex
{
public:
@@ -55,7 +56,7 @@ public:
{
return geometry::less
<
- TurnPoint, -1, CSTag
+ TurnPoint, -1, Strategy
>()(*m_turn_point, *other.m_turn_point);
}
if ( m_turn_point == NULL && other.m_turn_point == NULL )
@@ -77,11 +78,11 @@ private:
-template <typename TurnPoint, typename CSTag>
+template <typename TurnPoint, typename Strategy>
class complement_graph
{
private:
- typedef complement_graph_vertex<TurnPoint, CSTag> vertex;
+ typedef complement_graph_vertex<TurnPoint, Strategy> vertex;
typedef std::set<vertex> vertex_container;
public:
@@ -224,9 +225,10 @@ public:
}
#ifdef BOOST_GEOMETRY_TEST_DEBUG
- template <typename OStream, typename TP>
+ template <typename OutputStream>
friend inline
- void debug_print_complement_graph(OStream&, complement_graph<TP> const&);
+ void debug_print_complement_graph(OutputStream&,
+ complement_graph<TurnPoint, Strategy> const&);
#endif // BOOST_GEOMETRY_TEST_DEBUG
private: