diff --git a/include/boost/graph/adjacency_list.hpp b/include/boost/graph/adjacency_list.hpp index 1f800f06..7cc2fb0e 100644 --- a/include/boost/graph/adjacency_list.hpp +++ b/include/boost/graph/adjacency_list.hpp @@ -337,15 +337,33 @@ namespace boost { return get_property_value(g.m_property, value_type(), Tag()); } - template + // dwa 09/25/00 - needed to be more explicit so reverse_graph would work. + template inline Vertex - source(const detail::edge_base& e, Graph& ) + source(const detail::edge_base& e, + const adjacency_list&) { return e.m_source; } - template + + template inline Vertex - target(const detail::edge_base& e, Graph& ) + target(const detail::edge_base& e, + const adjacency_list&) { return e.m_target; }