]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/geometry/algorithms/detail/expand/segment.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / geometry / algorithms / detail / expand / segment.hpp
index 3f6f196026e3e551e1fdf53de5eccd90370fd0f2..c09c664e229e33dd151e2d5d40ab680d239d6ddb 100644 (file)
@@ -5,8 +5,8 @@
 // Copyright (c) 2009-2015 Mateusz Loskot, London, UK.
 // Copyright (c) 2014-2015 Samuel Debionne, Grenoble, France.
 
-// This file was modified by Oracle on 2015, 2016, 2017, 2018.
-// Modifications copyright (c) 2015-2018, Oracle and/or its affiliates.
+// This file was modified by Oracle on 2015-2020.
+// Modifications copyright (c) 2015-2020, 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
 
 #include <boost/geometry/core/tags.hpp>
 
-// For backward compatibility
-#include <boost/geometry/strategies/cartesian/expand_segment.hpp>
-#include <boost/geometry/strategies/geographic/expand_segment.hpp>
-#include <boost/geometry/strategies/spherical/expand_segment.hpp>
-
 
 namespace boost { namespace geometry
 {
@@ -54,8 +49,7 @@ struct expand
                              Segment const& segment,
                              Strategy const& strategy)
     {
-        boost::ignore_unused(strategy);
-        strategy.apply(box, segment);
+        strategy.expand(box, segment).apply(box, segment);
     }
 };