mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
Fix visibility problem exposed by GCC 3.3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7313 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0192e36cc7
commit
d091d85c15
@ -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"...
|
||||
|
@ -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"...
|
||||
|
Loading…
Reference in New Issue
Block a user