From ccd95b5f9ceb4f022d29cd14173ccdf0333ff77b Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 7 Jul 2008 18:07:36 +0000 Subject: [PATCH] Remove an unnecessary reinterpret_cast. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53180 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/FoldingSet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.34.1