mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Remove an unnecessary reinterpret_cast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53180 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1002c02034
commit
ccd95b5f9c
@ -348,7 +348,7 @@ protected:
|
|||||||
explicit FoldingSetBucketIteratorImpl(void **Bucket);
|
explicit FoldingSetBucketIteratorImpl(void **Bucket);
|
||||||
|
|
||||||
FoldingSetBucketIteratorImpl(void **Bucket, bool)
|
FoldingSetBucketIteratorImpl(void **Bucket, bool)
|
||||||
: Ptr(reinterpret_cast<void*>(Bucket)) {}
|
: Ptr(Bucket) {}
|
||||||
|
|
||||||
void advance() {
|
void advance() {
|
||||||
void *Probe = static_cast<FoldingSetNode*>(Ptr)->getNextInBucket();
|
void *Probe = static_cast<FoldingSetNode*>(Ptr)->getNextInBucket();
|
||||||
|
Loading…
Reference in New Issue
Block a user