lemon/dfs.h
changeset 1694 6d81e6f7a88d
parent 1666 30d7e673781f
child 1709 a323456bf7c8
     1.1 --- a/lemon/dfs.h	Fri Sep 30 13:15:28 2005 +0000
     1.2 +++ b/lemon/dfs.h	Mon Oct 03 10:11:29 2005 +0000
     1.3 @@ -336,8 +336,9 @@
     1.4      ///\ref named-templ-param "Named parameter" for setting ProcessedMap type
     1.5      ///
     1.6      template <class T>
     1.7 -    class DefProcessedMap : public Dfs< Graph,
     1.8 -					DefProcessedMapTraits<T> > { };
     1.9 +    struct DefProcessedMap : public Dfs< Graph, DefProcessedMapTraits<T> > { 
    1.10 +      typedef Dfs< Graph, DefProcessedMapTraits<T> > Dfs;
    1.11 +    };
    1.12      
    1.13      struct DefGraphProcessedMapTraits : public Traits {
    1.14        typedef typename Graph::template NodeMap<bool> ProcessedMap;
    1.15 @@ -563,11 +564,11 @@
    1.16      ///
    1.17      ///\return The next edge to be processed or INVALID if the stack is
    1.18      /// empty.
    1.19 -    OutEdgeIt NextEdge()
    1.20 +    OutEdgeIt nextEdge()
    1.21      { 
    1.22        return _stack_head>=0?_stack[_stack_head]:INVALID;
    1.23      }
    1.24 -      
    1.25 +
    1.26      ///\brief Returns \c false if there are nodes
    1.27      ///to be processed in the queue
    1.28      ///