the map is either const or take by copy

This commit is contained in:
Sébastien Loriot 2023-10-05 09:32:22 +02:00
parent 9d68f5350e
commit 8e36b7b37e
1 changed files with 1 additions and 1 deletions

View File

@ -661,7 +661,7 @@ struct Boolean_property_map
return pm.set_ptr->count(k) != 0; 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); CGAL_assertion(pm.set_ptr!=nullptr);
if (v) if (v)