aboutsummaryrefslogtreecommitdiff
path: root/include/Support
diff options
context:
space:
mode:
Diffstat (limited to 'include/Support')
-rw-r--r--include/Support/DepthFirstIterator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Support/DepthFirstIterator.h b/include/Support/DepthFirstIterator.h
index edb8b2d6bd..7df5c26f98 100644
--- a/include/Support/DepthFirstIterator.h
+++ b/include/Support/DepthFirstIterator.h
@@ -162,7 +162,7 @@ df_iterator<T> df_end(T G) {
}
// Provide global definitions of external depth first iterators...
-template <class T, class SetTy>
+template <class T, class SetTy = std::set<typename GraphTraits<T>::NodeType*> >
struct df_ext_iterator : public df_iterator<T, SetTy, true> {
df_ext_iterator(const df_iterator<T, SetTy, true> &V)
: df_iterator<T, SetTy, true>(V) {}