From e51512d9cd28a09967bd795bfb31e87ac2f3e9ae Mon Sep 17 00:00:00 2001 From: Barend Gehrels Date: Wed, 13 Jul 2016 10:40:14 +0200 Subject: [PATCH] [buffer] fix compilation by adding specialization for pointorder on buffered ring collections --- .../algorithms/detail/buffer/buffered_ring.hpp | 16 ++++++++++++++++ .../detail/overlay/handle_colocations.hpp | 1 + 2 files changed, 17 insertions(+) diff --git a/include/boost/geometry/algorithms/detail/buffer/buffered_ring.hpp b/include/boost/geometry/algorithms/detail/buffer/buffered_ring.hpp index db6136e1a..4fd24b145 100644 --- a/include/boost/geometry/algorithms/detail/buffer/buffered_ring.hpp +++ b/include/boost/geometry/algorithms/detail/buffer/buffered_ring.hpp @@ -16,6 +16,8 @@ #include #include +#include +#include #include #include @@ -147,6 +149,20 @@ struct ring_type typedef Ring type; }; + +// There is a specific tag, so this specialization cannot be placed in traits +template +struct point_order + > > +{ + static const order_selector value + = core_dispatch::point_order::value; +}; + + } diff --git a/include/boost/geometry/algorithms/detail/overlay/handle_colocations.hpp b/include/boost/geometry/algorithms/detail/overlay/handle_colocations.hpp index 0496c69af..027333e61 100644 --- a/include/boost/geometry/algorithms/detail/overlay/handle_colocations.hpp +++ b/include/boost/geometry/algorithms/detail/overlay/handle_colocations.hpp @@ -15,6 +15,7 @@ #include #include +#include #include #include #include