]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/geometry/algorithms/detail/overlay/turn_info.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / geometry / algorithms / detail / overlay / turn_info.hpp
index 7dcbf4c8effa19c94954331d4186188c0e218b79..08cb516cf67bc651043d09e1b7280e9f759f94bb 100644 (file)
@@ -138,6 +138,11 @@ struct turn_info
     {
         return cluster_id > 0;
     }
+    inline bool is_self() const
+    {
+        return operations[0].seg_id.source_index
+                == operations[1].seg_id.source_index;
+    }
 
 private :
     inline bool has12(operation_type type1, operation_type type2) const