diff options
-rw-r--r-- | include/Support/DepthFirstIterator.h | 2 | ||||
-rw-r--r-- | include/llvm/ADT/DepthFirstIterator.h | 2 |
2 files changed, 2 insertions, 2 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) {} diff --git a/include/llvm/ADT/DepthFirstIterator.h b/include/llvm/ADT/DepthFirstIterator.h index edb8b2d6bd..7df5c26f98 100644 --- a/include/llvm/ADT/DepthFirstIterator.h +++ b/include/llvm/ADT/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) {} |