Add missing default argument
[oota-llvm.git] / include / Support / DepthFirstIterator.h
index edb8b2d6bd96bb2222493cb6214e64e70fb8029a..7df5c26f98d8a3c1a32c20c1f8c2c880ec5376f5 100644 (file)
@@ -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) {}