No need for thread local storage as readonly

This commit is contained in:
Andreas Fabri 2016-08-31 14:52:52 +02:00
parent 641d5d51ef
commit 83e59fefd3
1 changed files with 3 additions and 3 deletions

View File

@ -359,7 +359,7 @@ insert_segment(const Point_2& p0, const Point_2& p1,
Vertex_handle vertex;
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]);
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
// the tags
static Intersections_tag itag;
static Segments_in_hierarchy_tag stag;
static const Intersections_tag itag;
static const Segments_in_hierarchy_tag stag;
CGAL_SDG_DEBUG(std::cout << "debug insert_segment_interior t=" << t
<< " at level " << level << std::endl;);