mirror of https://github.com/CGAL/cgal
No need for thread local storage as readonly
This commit is contained in:
parent
641d5d51ef
commit
83e59fefd3
|
|
@ -359,7 +359,7 @@ insert_segment(const Point_2& p0, const Point_2& p1,
|
||||||
Vertex_handle vertex;
|
Vertex_handle vertex;
|
||||||
|
|
||||||
if ( hierarchy[0]->number_of_vertices() == 2 ) {
|
if ( hierarchy[0]->number_of_vertices() == 2 ) {
|
||||||
static Segments_in_hierarchy_tag stag;
|
static const Segments_in_hierarchy_tag stag;
|
||||||
|
|
||||||
vertex = hierarchy[0]->insert_third(ss, vertices0[0], vertices1[0]);
|
vertex = hierarchy[0]->insert_third(ss, vertices0[0], vertices1[0]);
|
||||||
insert_segment_in_upper_levels(t, vertex->storage_site(),
|
insert_segment_in_upper_levels(t, vertex->storage_site(),
|
||||||
|
|
@ -389,8 +389,8 @@ insert_segment_interior(const Site_2& t, const Storage_site_2& ss,
|
||||||
// arrangement_type
|
// arrangement_type
|
||||||
|
|
||||||
// the tags
|
// the tags
|
||||||
static Intersections_tag itag;
|
static const Intersections_tag itag;
|
||||||
static Segments_in_hierarchy_tag stag;
|
static const Segments_in_hierarchy_tag stag;
|
||||||
|
|
||||||
CGAL_SDG_DEBUG(std::cout << "debug insert_segment_interior t=" << t
|
CGAL_SDG_DEBUG(std::cout << "debug insert_segment_interior t=" << t
|
||||||
<< " at level " << level << std::endl;);
|
<< " at level " << level << std::endl;);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue