diff --git a/boost/boost/graph/filtered_graph.hpp b/boost/boost/graph/filtered_graph.hpp
index 66cead6..6ac8292 100644
a
|
b
|
namespace boost {
|
210 | 210 | |
211 | 211 | static vertex_descriptor null_vertex() |
212 | 212 | { |
213 | | return Graph::null_vertex(); |
| 213 | return Traits::null_vertex(); |
214 | 214 | } |
215 | 215 | |
216 | 216 | //private: |
diff --git a/boost/boost/graph/labeled_graph.hpp b/boost/boost/graph/labeled_graph.hpp
index e1a2f7c..71a8d88 100644
a
|
b
|
namespace graph_detail {
|
196 | 196 | { |
197 | 197 | // If the element is already occupied, then we probably don't want to |
198 | 198 | // overwrite it. |
199 | | if(c[l] == Graph::null_vertex()) return false; |
| 199 | if(c[l] == graph_traits<Grpah>::null_vertex()) return false; |
200 | 200 | c[l] = v; |
201 | 201 | return true; |
202 | 202 | } |
… |
… |
public:
|
411 | 411 | |
412 | 412 | /** Return a null descriptor */ |
413 | 413 | static vertex_descriptor null_vertex() |
414 | | { return graph_type::null_vertex(); } |
| 414 | { return graph_traits<graph_type>::null_vertex(); } |
415 | 415 | |
416 | 416 | private: |
417 | 417 | graph_type _graph; |
… |
… |
public:
|
525 | 525 | #endif |
526 | 526 | |
527 | 527 | static vertex_descriptor null_vertex() |
528 | | { return graph_type::null_vertex(); } |
| 528 | { return graph_traits<graph_type>::null_vertex(); } |
529 | 529 | |
530 | 530 | private: |
531 | 531 | graph_type* _graph; |