Remove an unnecessary reinterpret_cast.

llvm-svn: 53180
This commit is contained in:
Dan Gohman 2008-07-07 18:07:36 +00:00
parent 955fdc7a4c
commit 9112a5463e

View File

@ -348,7 +348,7 @@ protected:
explicit FoldingSetBucketIteratorImpl(void **Bucket);
FoldingSetBucketIteratorImpl(void **Bucket, bool)
: Ptr(reinterpret_cast<void*>(Bucket)) {}
: Ptr(Bucket) {}
void advance() {
void *Probe = static_cast<FoldingSetNode*>(Ptr)->getNextInBucket();