From: Dan Gohman Date: Mon, 7 Jul 2008 18:07:36 +0000 (+0000) Subject: Remove an unnecessary reinterpret_cast. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ccd95b5f9ceb4f022d29cd14173ccdf0333ff77b;p=oota-llvm.git Remove an unnecessary reinterpret_cast. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53180 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/FoldingSet.h b/include/llvm/ADT/FoldingSet.h index 7629301066e..f34a62d4f4c 100644 --- a/include/llvm/ADT/FoldingSet.h +++ b/include/llvm/ADT/FoldingSet.h @@ -348,7 +348,7 @@ protected: explicit FoldingSetBucketIteratorImpl(void **Bucket); FoldingSetBucketIteratorImpl(void **Bucket, bool) - : Ptr(reinterpret_cast(Bucket)) {} + : Ptr(Bucket) {} void advance() { void *Probe = static_cast(Ptr)->getNextInBucket();