diff options
author | Chris Lattner <sabre@nondot.org> | 2003-07-25 17:23:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-07-25 17:23:13 +0000 |
commit | 32862da7c7107d792d25a885f9bd2d0402ae7126 (patch) | |
tree | f9bfea1bc0e1a73c617088fe31c0b22c4e4ba69f /include/Support/ilist | |
parent | ab63bd15f5e2c822197e9b9d91bec1c46fbec884 (diff) | |
download | external_llvm-32862da7c7107d792d25a885f9bd2d0402ae7126.zip external_llvm-32862da7c7107d792d25a885f9bd2d0402ae7126.tar.gz external_llvm-32862da7c7107d792d25a885f9bd2d0402ae7126.tar.bz2 |
Fix accessibility problems GCC 3.3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7306 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/Support/ilist')
-rw-r--r-- | include/Support/ilist | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/Support/ilist b/include/Support/ilist index 83a1fe6..afd858d 100644 --- a/include/Support/ilist +++ b/include/Support/ilist @@ -74,11 +74,13 @@ class ilist_iterator typedef ilist_traits<NodeTy> Traits; typedef bidirectional_iterator<NodeTy, ptrdiff_t> super; +public: + typedef size_t size_type; typedef typename super::pointer pointer; typedef typename super::reference reference; +private: pointer NodePtr; public: - typedef size_t size_type; ilist_iterator(pointer NP) : NodePtr(NP) {} ilist_iterator(reference NR) : NodePtr(&NR) {} |