diff --git a/Kinetic_space_partition/include/CGAL/KSP_3/Intersection_graph.h b/Kinetic_space_partition/include/CGAL/KSP_3/Intersection_graph.h index 6a7c6b564bb..207ea0d2c0f 100644 --- a/Kinetic_space_partition/include/CGAL/KSP_3/Intersection_graph.h +++ b/Kinetic_space_partition/include/CGAL/KSP_3/Intersection_graph.h @@ -64,7 +64,18 @@ public: std::map intervals; // Maps support plane index to the kinetic interval. std::pair is the barycentric coordinate and intersection time. Edge_property() : line(std::size_t(-1)), order(edge_counter++) { } + Edge_property(const Edge_property& e) = default; + const Edge_property& operator=(const Edge_property& other) { + line = other.line; + // order = other.order; + faces = other.faces; + planes = other.planes; + crossed = other.crossed; + intervals = other.intervals; + + return *this; + } private: static std::size_t edge_counter; };