mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
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:
parent
d091d85c15
commit
02a31a5af6
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user