From 33d5102f54529892f2bff50b5a3b4ca56d2b2b6c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 25 Jul 2003 17:49:28 +0000 Subject: Fix another accessibility problem illuminated by GCC 3.3 llvm-svn: 7314 --- llvm/include/Support/DepthFirstIterator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/include/Support/DepthFirstIterator.h') diff --git a/llvm/include/Support/DepthFirstIterator.h b/llvm/include/Support/DepthFirstIterator.h index b4a1b2969f5..2bb2e68e670 100644 --- a/llvm/include/Support/DepthFirstIterator.h +++ b/llvm/include/Support/DepthFirstIterator.h @@ -17,7 +17,6 @@ template > class df_iterator : public forward_iterator { typedef forward_iterator super; - typedef typename super::pointer pointer; typedef typename GT::NodeType NodeType; typedef typename GT::ChildIteratorType ChildItTy; @@ -51,6 +50,7 @@ private: inline df_iterator() { /* End is when stack is empty */ } public: + typedef typename super::pointer pointer; typedef df_iterator _Self; // Provide static begin and end methods as our public "constructors" -- cgit v1.2.3