2
0
mirror of https://github.com/boostorg/graph.git synced 2026-02-01 08:32:11 +00:00

Applied patch from #7327; fixes #7327

[SVN r80511]
This commit is contained in:
Jeremiah Willcock
2012-09-13 13:18:36 +00:00
parent 60b5e07027
commit 8c83132ef7
2 changed files with 4 additions and 4 deletions

View File

@@ -210,7 +210,7 @@ namespace boost {
static vertex_descriptor null_vertex()
{
return Graph::null_vertex();
return Traits::null_vertex();
}
//private:

View File

@@ -196,7 +196,7 @@ namespace graph_detail {
{
// If the element is already occupied, then we probably don't want to
// overwrite it.
if(c[l] == Graph::null_vertex()) return false;
if(c[l] == graph_traits<Graph>::null_vertex()) return false;
c[l] = v;
return true;
}
@@ -411,7 +411,7 @@ public:
/** Return a null descriptor */
static vertex_descriptor null_vertex()
{ return graph_type::null_vertex(); }
{ return graph_traits<graph_type>::null_vertex(); }
private:
graph_type _graph;
@@ -525,7 +525,7 @@ public:
#endif
static vertex_descriptor null_vertex()
{ return graph_type::null_vertex(); }
{ return graph_traits<graph_type>::null_vertex(); }
private:
graph_type* _graph;