From 080a545cf5b562befaff46c0246807e67ea5f638 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Sat, 28 May 2016 14:06:25 +0200 Subject: [PATCH] [equals] Support Mpoly/Ring combination. --- include/boost/geometry/algorithms/equals.hpp | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/include/boost/geometry/algorithms/equals.hpp b/include/boost/geometry/algorithms/equals.hpp index 0f0bdde58..6549bb225 100644 --- a/include/boost/geometry/algorithms/equals.hpp +++ b/include/boost/geometry/algorithms/equals.hpp @@ -5,8 +5,8 @@ // Copyright (c) 2009-2015 Mateusz Loskot, London, UK. // Copyright (c) 2014-2015 Adam Wulkiewicz, Lodz, Poland. -// This file was modified by Oracle on 2014, 2015. -// Modifications copyright (c) 2014-2015 Oracle and/or its affiliates. +// This file was modified by Oracle on 2014, 2015, 2016. +// Modifications copyright (c) 2014-2016 Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle @@ -323,6 +323,17 @@ struct equals : detail::equals::equals_by_collection {}; +template +struct equals + < + MultiPolygon, Ring, + multi_polygon_tag, ring_tag, + 2, + Reverse + > + : detail::equals::equals_by_collection +{}; + } // namespace dispatch #endif // DOXYGEN_NO_DISPATCH