From b29794d8280597c2e41629b47c11dd53318cf119 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Sat, 1 Aug 2009 01:28:23 +0000 Subject: [PATCH] Make default ctor for ImmutableSet::iterator public. llvm-svn: 77762 --- include/llvm/ADT/ImmutableSet.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/llvm/ADT/ImmutableSet.h b/include/llvm/ADT/ImmutableSet.h index 7eadeedd52f..7c070d7a7f2 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; 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; }