diff options
author | Dan Gohman <gohman@apple.com> | 2008-07-07 18:07:36 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-07-07 18:07:36 +0000 |
commit | ccd95b5f9ceb4f022d29cd14173ccdf0333ff77b (patch) | |
tree | a5f4d00865dacf3a9e0456e27c3f15db6f064668 | |
parent | 1002c0203450620594a85454c6a095ca94b87cb2 (diff) |
Remove an unnecessary reinterpret_cast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53180 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/ADT/FoldingSet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/FoldingSet.h b/include/llvm/ADT/FoldingSet.h index 7629301066..f34a62d4f4 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<void*>(Bucket)) {} + : Ptr(Bucket) {} void advance() { void *Probe = static_cast<FoldingSetNode*>(Ptr)->getNextInBucket(); |