diff options
author | Dan Gohman <gohman@apple.com> | 2008-07-07 18:08:20 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-07-07 18:08:20 +0000 |
commit | d24c62c67e674a856af25a93846619b4f0d3e234 (patch) | |
tree | 6adf08432c5ee650ea1518ad8d1bce91be2b8ec0 /include/llvm/ADT | |
parent | ccd95b5f9ceb4f022d29cd14173ccdf0333ff77b (diff) | |
download | external_llvm-d24c62c67e674a856af25a93846619b4f0d3e234.zip external_llvm-d24c62c67e674a856af25a93846619b4f0d3e234.tar.gz external_llvm-d24c62c67e674a856af25a93846619b4f0d3e234.tar.bz2 |
Remove unnecessary static_casts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53181 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r-- | include/llvm/ADT/SmallVector.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/SmallVector.h b/include/llvm/ADT/SmallVector.h index 6faa3cc..d98d40a 100644 --- a/include/llvm/ADT/SmallVector.h +++ b/include/llvm/ADT/SmallVector.h @@ -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; |