diff --git a/boost/boost/graph/filtered_graph.hpp b/boost/boost/graph/filtered_graph.hpp index 66cead6..6ac8292 100644 --- a/boost/boost/graph/filtered_graph.hpp +++ b/boost/boost/graph/filtered_graph.hpp @@ -210,7 +210,7 @@ namespace boost { static vertex_descriptor null_vertex() { - return Graph::null_vertex(); + return Traits::null_vertex(); } //private: diff --git a/boost/boost/graph/labeled_graph.hpp b/boost/boost/graph/labeled_graph.hpp index e1a2f7c..71a8d88 100644 --- a/boost/boost/graph/labeled_graph.hpp +++ b/boost/boost/graph/labeled_graph.hpp @@ -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::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::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::null_vertex(); } private: graph_type* _graph;