diff --git a/lemon/bfs.h b/lemon/bfs.h --- a/lemon/bfs.h +++ b/lemon/bfs.h @@ -1318,7 +1318,7 @@ #else template , - typename _Traits = BfsDefaultTraits<_Digraph> > + typename _Traits = BfsVisitDefaultTraits<_Digraph> > #endif class BfsVisit { public: diff --git a/lemon/dfs.h b/lemon/dfs.h --- a/lemon/dfs.h +++ b/lemon/dfs.h @@ -1265,7 +1265,7 @@ #else template , - typename _Traits = DfsDefaultTraits<_Digraph> > + typename _Traits = DfsVisitDefaultTraits<_Digraph> > #endif class DfsVisit { public: