]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/geometry/test/algorithms/point_on_surface.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / geometry / test / algorithms / point_on_surface.cpp
index 7ee5eb8805d211c3c280fb3dda376364ded4076f..048635ecb7b41d4acc7607a68ea051d27a1cbc5f 100644 (file)
@@ -6,9 +6,8 @@
 // Copyright (c) 2009-2015 Mateusz Loskot, London, UK.
 // Copyright (c) 2013-2017 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-2021.
+// Modifications copyright (c) 2014-2021 Oracle and/or its affiliates.
 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
 
 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
@@ -101,7 +100,7 @@ void test_geometry(std::string const& case_id, Geometry const& geometry, double
 
         // Top (red/magenta)
         mapper.map(top_points, "stroke:rgb(255,0,0);stroke-width:2");
-        BOOST_FOREACH(intruder_type const& intruder, top_intruders)
+        for (intruder_type const& intruder : top_intruders)
         {
             mapper.map(intruder, "stroke:rgb(255,0,255);stroke-width:2");
         }
@@ -111,7 +110,7 @@ void test_geometry(std::string const& case_id, Geometry const& geometry, double
         //// Right (blue/cyan)
         // (mostly commented, makes the picture less clear)
         //mapper.map(right_points, "stroke:rgb(0,0,255);stroke-width:2");
-        //BOOST_FOREACH(intruder_type const& intruder, right_intruders)
+        //for (intruder_type const& intruder : right_intruders)
         //{
         //    mapper.map(intruder, "stroke:rgb(0,255,255);stroke-width:2");
         //}