Fix visibility problem exposed by GCC 3.3

llvm-svn: 7313
This commit is contained in:
Chris Lattner 2003-07-25 17:46:25 +00:00
parent e66e7d75bf
commit 659ad62df1
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,6 @@
template<class GraphT, class GT = GraphTraits<GraphT> >
class po_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;
@ -43,6 +42,7 @@ class po_iterator : public forward_iterator<typename GT::NodeType, ptrdiff_t> {
}
inline po_iterator() { /* End is when stack is empty */ }
public:
typedef typename super::pointer pointer;
typedef po_iterator<GraphT, GT> _Self;
// Provide static "constructors"...