mirror of https://github.com/CGAL/cgal
work around incorrect key-type in property maps
This commit is contained in:
parent
efa3e3b654
commit
1c5204d0aa
|
|
@ -281,8 +281,9 @@ struct Property_map_to_unary_function{
|
|||
: map(m)
|
||||
{}
|
||||
|
||||
template <class KeyType>
|
||||
result_type
|
||||
operator()(const argument_type& a) const
|
||||
operator()(KeyType a) const
|
||||
{
|
||||
return get(map,a);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue