[llvm-commits] CVS: llvm/include/Support/DepthFirstIterator.h
Chris Lattner
lattner at cs.uiuc.edu
Fri Jul 25 12:50:01 PDT 2003
Changes in directory llvm/include/Support:
DepthFirstIterator.h updated: 1.5 -> 1.6
---
Log message:
Fix another accessibility problem illuminated by GCC 3.3
---
Diffs of the changes:
Index: llvm/include/Support/DepthFirstIterator.h
diff -u llvm/include/Support/DepthFirstIterator.h:1.5 llvm/include/Support/DepthFirstIterator.h:1.6
--- llvm/include/Support/DepthFirstIterator.h:1.5 Mon Jun 16 19:35:55 2003
+++ llvm/include/Support/DepthFirstIterator.h Fri Jul 25 12:49:28 2003
@@ -17,7 +17,6 @@
template<class GraphT, class GT = GraphTraits<GraphT> >
class df_iterator : public forward_iterator<typename GT::NodeType, ptrdiff_t> {
typedef forward_iterator<typename GT::NodeType, ptrdiff_t> super;
- typedef typename super::pointer pointer;
typedef typename GT::NodeType NodeType;
typedef typename GT::ChildIteratorType ChildItTy;
@@ -51,6 +50,7 @@
inline df_iterator() { /* End is when stack is empty */ }
public:
+ typedef typename super::pointer pointer;
typedef df_iterator<GraphT, GT> _Self;
// Provide static begin and end methods as our public "constructors"
More information about the llvm-commits
mailing list