Make default ctor for ImmutableSet::iterator public.
authorTed Kremenek <kremenek@apple.com>
Sat, 1 Aug 2009 01:28:23 +0000 (01:28 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 1 Aug 2009 01:28:23 +0000 (01:28 +0000)
llvm-svn: 77762

llvm/include/llvm/ADT/ImmutableSet.h

index 7eadeed..7c070d7 100644 (file)
@@ -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; }