2
0
mirror of https://github.com/boostorg/graph.git synced 2026-01-31 20:22:09 +00:00

fixed degree()

[SVN r7907]
This commit is contained in:
Jeremy Siek
2000-10-04 16:17:41 +00:00
parent aa043d61ad
commit ae7eb3e65a

View File

@@ -799,8 +799,10 @@ namespace boost {
template <class Config>
inline typename Config::degree_size_type
degree(typename Config::vertex_descriptor u,
const undirected_graph_helper<Config>& g)
const undirected_graph_helper<Config>& g_)
{
typedef typename Config::graph_type Graph;
const Graph& g = static_cast<const Graph&>(g_);
return out_degree(u, g);
}