mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 14:47:00 +00:00
Remove unnecessary static_casts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53181 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ccd95b5f9c
commit
d24c62c67e
@ -86,7 +86,7 @@ public:
|
||||
|
||||
// If this wasn't grown from the inline copy, deallocate the old space.
|
||||
if (!isSmall())
|
||||
operator delete(static_cast<void*>(Begin));
|
||||
operator delete(Begin);
|
||||
}
|
||||
|
||||
typedef size_t size_type;
|
||||
@ -362,7 +362,7 @@ void SmallVectorImpl<T>::grow(size_t MinSize) {
|
||||
|
||||
// If this wasn't grown from the inline copy, deallocate the old space.
|
||||
if (!isSmall())
|
||||
operator delete(static_cast<void*>(Begin));
|
||||
operator delete(Begin);
|
||||
|
||||
Begin = NewElts;
|
||||
End = NewElts+CurSize;
|
||||
|
Loading…
Reference in New Issue
Block a user