diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-08-01 01:28:23 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-08-01 01:28:23 +0000 |
commit | d8e43c77fdedbebf361057f4a8daab12e8d01535 (patch) | |
tree | 4c39a61cecd81bcce542b53ad96df72ce9ecad04 /include/llvm/ADT | |
parent | b944d14a91a5d59b8b0a53332e0c36503511e095 (diff) | |
download | external_llvm-d8e43c77fdedbebf361057f4a8daab12e8d01535.zip external_llvm-d8e43c77fdedbebf361057f4a8daab12e8d01535.tar.gz external_llvm-d8e43c77fdedbebf361057f4a8daab12e8d01535.tar.bz2 |
Make default ctor for ImmutableSet::iterator public.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77762 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r-- | include/llvm/ADT/ImmutableSet.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/ADT/ImmutableSet.h b/include/llvm/ADT/ImmutableSet.h index 7eadeed..7c070d7 100644 --- a/include/llvm/ADT/ImmutableSet.h +++ b/include/llvm/ADT/ImmutableSet.h @@ -1025,11 +1025,10 @@ public: class iterator { typename TreeTy::iterator itr; - - iterator() {} iterator(TreeTy* t) : itr(t) {} friend class ImmutableSet<ValT,ValInfo>; public: + iterator() {} inline value_type_ref operator*() const { return itr->getValue(); } inline iterator& operator++() { ++itr; return *this; } inline iterator operator++(int) { iterator tmp(*this); ++itr; return tmp; } |