diff options
author | Chris Lattner <sabre@nondot.org> | 2003-07-25 17:49:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-07-25 17:49:28 +0000 |
commit | 02a31a5af68aaca1b54c7121f04cb56828ccefc2 (patch) | |
tree | 100c298c0e27d0c32397c46f873a67b0e83b81cb /include/llvm/ADT/DepthFirstIterator.h | |
parent | d091d85c15d56adca38f3522ff4ac0997141e326 (diff) | |
download | external_llvm-02a31a5af68aaca1b54c7121f04cb56828ccefc2.zip external_llvm-02a31a5af68aaca1b54c7121f04cb56828ccefc2.tar.gz external_llvm-02a31a5af68aaca1b54c7121f04cb56828ccefc2.tar.bz2 |
Fix another accessibility problem illuminated by GCC 3.3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7314 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/DepthFirstIterator.h')
-rw-r--r-- | include/llvm/ADT/DepthFirstIterator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/DepthFirstIterator.h b/include/llvm/ADT/DepthFirstIterator.h index b4a1b29..2bb2e68 100644 --- a/include/llvm/ADT/DepthFirstIterator.h +++ b/include/llvm/ADT/DepthFirstIterator.h @@ -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 @@ private: 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" |