Skip to content

Commit

Permalink
the map is either const or take by copy
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot committed Oct 5, 2023
1 parent 9d68f53 commit 8e36b7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Property_map/include/CGAL/property_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ struct Boolean_property_map
return pm.set_ptr->count(k) != 0;
}

friend void put(Boolean_property_map<Set>& pm, const key_type& k, bool v)
friend void put(Boolean_property_map<Set> pm, const key_type& k, bool v)
{
CGAL_assertion(pm.set_ptr!=nullptr);
if (v)
Expand Down

0 comments on commit 8e36b7b

Please sign in to comment.