[llvm-commits] CVS: llvm/include/Support/DepthFirstIterator.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Oct 13 11:45:01 PDT 2003
Changes in directory llvm/include/Support:
DepthFirstIterator.h updated: 1.9 -> 1.10
---
Log message:
Add missing default argument
---
Diffs of the changes: (+1 -1)
Index: llvm/include/Support/DepthFirstIterator.h
diff -u llvm/include/Support/DepthFirstIterator.h:1.9 llvm/include/Support/DepthFirstIterator.h:1.10
--- llvm/include/Support/DepthFirstIterator.h:1.9 Mon Oct 13 11:34:26 2003
+++ llvm/include/Support/DepthFirstIterator.h Mon Oct 13 11:44:30 2003
@@ -162,7 +162,7 @@
}
// 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) {}
More information about the llvm-commits
mailing list