]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/geometry/example/c08_custom_non_std_example.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / geometry / example / c08_custom_non_std_example.cpp
index 0a545a3de94da52f0af4ec1ee49950e751100eab..12bb768405319dc875764b99b95edfeefb571ca5 100644 (file)
@@ -281,7 +281,7 @@ int main()
 
     // Create (as an example) a regular polygon
     const int n = 5;
-    const double d = (360 / n) * boost::geometry::math::d2r;
+    const double d = (360 / n) * boost::geometry::math::d2r<double>();
     double a = 0;
     for (int i = 0; i < n + 1; i++, a += d)
     {