SmallPtrSet: Fix makeIterator

This commit is contained in:
Peter Johnson
2018-07-28 03:04:19 -07:00
parent a2d314b0d9
commit 826ed7fe3c

View File

@@ -383,7 +383,7 @@ public:
private:
/// Create an iterator that dereferences to same place as the given pointer.
iterator makeIterator(const void *const *P) const {
return iterator(P, EndPointer(), *this);
return iterator(P, EndPointer());
}
};