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
This commit is contained in:
Chris Lattner 2003-07-25 17:49:28 +00:00
parent d091d85c15
commit 02a31a5af6
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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"