diff --git a/BGL/include/CGAL/boost/graph/Dual.h b/BGL/include/CGAL/boost/graph/Dual.h index 0975b885738..ff6ae143cfa 100644 --- a/BGL/include/CGAL/boost/graph/Dual.h +++ b/BGL/include/CGAL/boost/graph/Dual.h @@ -209,15 +209,20 @@ get(Property p, const Dual

& dual, const Key& k) return get(p, dual.primal(), k); } -template -typename boost::property_map_value, boost::vertex_index_t>::type +template +struct Property_map_value_dummy { + typedef typename boost::property_map_value::type type; +}; + +template +typename Property_map_value_dummy, boost::vertex_index_t, Key>::type get(boost::vertex_index_t, const Dual

& dual, const Key& k) { return get(typename boost::internal::Dual_vertex_index_pmap

(dual.primal()), k); } -template -typename boost::property_map_value, boost::face_index_t>::type +template +typename Property_map_value_dummy, boost::face_index_t, Key>::type get(boost::face_index_t, const Dual

& dual, const Key& k) { return get(typename boost::internal::Dual_face_index_pmap

(dual.primal()), k);