diff -r 269f0cbfbcc8 -r 6d81e6f7a88d lemon/dfs.h --- a/lemon/dfs.h Fri Sep 30 13:15:28 2005 +0000 +++ b/lemon/dfs.h Mon Oct 03 10:11:29 2005 +0000 @@ -336,8 +336,9 @@ ///\ref named-templ-param "Named parameter" for setting ProcessedMap type /// template - class DefProcessedMap : public Dfs< Graph, - DefProcessedMapTraits > { }; + struct DefProcessedMap : public Dfs< Graph, DefProcessedMapTraits > { + typedef Dfs< Graph, DefProcessedMapTraits > Dfs; + }; struct DefGraphProcessedMapTraits : public Traits { typedef typename Graph::template NodeMap ProcessedMap; @@ -563,11 +564,11 @@ /// ///\return The next edge to be processed or INVALID if the stack is /// empty. - OutEdgeIt NextEdge() + OutEdgeIt nextEdge() { return _stack_head>=0?_stack[_stack_head]:INVALID; } - + ///\brief Returns \c false if there are nodes ///to be processed in the queue ///