summaryrefslogtreecommitdiffstats
path: root/llvm/include/Support/DepthFirstIterator.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-07-25 17:49:28 +0000
committerChris Lattner <sabre@nondot.org>2003-07-25 17:49:28 +0000
commit33d5102f54529892f2bff50b5a3b4ca56d2b2b6c (patch)
treef2e406dd8eff57509bedeb921d4b617d844342f5 /llvm/include/Support/DepthFirstIterator.h
parent659ad62df19b9efdb59da255df9d79e8edc77f5e (diff)
downloadbcm5719-llvm-33d5102f54529892f2bff50b5a3b4ca56d2b2b6c.tar.gz
bcm5719-llvm-33d5102f54529892f2bff50b5a3b4ca56d2b2b6c.zip
Fix another accessibility problem illuminated by GCC 3.3
llvm-svn: 7314
Diffstat (limited to 'llvm/include/Support/DepthFirstIterator.h')
-rw-r--r--llvm/include/Support/DepthFirstIterator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/Support/DepthFirstIterator.h b/llvm/include/Support/DepthFirstIterator.h
index b4a1b2969f5..2bb2e68e670 100644
--- a/llvm/include/Support/DepthFirstIterator.h
+++ b/llvm/include/Support/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"
OpenPOWER on IntegriCloud