diff --git a/include/boost/graph/detail/adjacency_list.hpp b/include/boost/graph/detail/adjacency_list.hpp index 6bf94c2d..b75964f6 100644 --- a/include/boost/graph/detail/adjacency_list.hpp +++ b/include/boost/graph/detail/adjacency_list.hpp @@ -115,20 +115,20 @@ namespace boost { }; #else template - struct bidir_adjacency_iterator + struct bidir_adj_iter : public boost::iterator { private: - typedef bidir_adjacency_iterator self; + typedef bidir_adj_iter self; public: typedef std::ptrdiff_t difference_type; typedef std::forward_iterator_tag iterator_category; typedef Vertex* pointer; typedef Vertex reference; typedef Vertex value_type; - inline bidir_adjacency_iterator() { } - inline bidir_adjacency_iterator(OutEdgeIter ii, Graph* _g) + inline bidir_adj_iter() { } + inline bidir_adj_iter(OutEdgeIter ii, Graph* _g) : i(ii), g(_g) {} inline self& operator++() { ++i; return *this; } @@ -279,12 +279,12 @@ namespace boost { }; template - class stored_edge_with_iter + class stored_edge_iter : public stored_edge { public: typedef Property property_type; - inline stored_edge_with_iter(Vertex v, Iter i = Iter()) + inline stored_edge_iter(Vertex v, Iter i = Iter()) : stored_edge(v), m_iter(i) { } inline Property* get_property() { return m_iter->get_property(); } inline const Property* get_property() const { @@ -1951,7 +1951,7 @@ namespace boost { stored_edge_property, stored_edge >::type, - stored_edge_with_iter + stored_edge_iter >::type StoredEdge; // Adjacency Types @@ -1988,7 +1988,7 @@ namespace boost { typedef typename adjacency_iterator::type adjacency_iterator; #else - typedef bidir_adjacency_iterator adjacency_iterator; #endif