diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2014-01-04 17:43:00 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2014-01-04 17:43:00 +0000 |
commit | 634b9dd76812ff2222c779b842ec32c7a035c850 (patch) | |
tree | 2885b14baa90425d768e8348c0aaa24ecd9dbdda /libcxx/src/thread.cpp | |
parent | 5e9f3265f85e21a673f81381a4beba4bfb5bce51 (diff) | |
download | bcm5719-llvm-634b9dd76812ff2222c779b842ec32c7a035c850.tar.gz bcm5719-llvm-634b9dd76812ff2222c779b842ec32c7a035c850.zip |
Switch to using C++ style casts.
llvm-svn: 198505
Diffstat (limited to 'libcxx/src/thread.cpp')
-rw-r--r-- | libcxx/src/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/thread.cpp b/libcxx/src/thread.cpp index 338a8a24cef..bd2b7c39238 100644 --- a/libcxx/src/thread.cpp +++ b/libcxx/src/thread.cpp @@ -144,7 +144,7 @@ public: T* allocate(size_t __n) {return static_cast<T*>(::operator new(__n * sizeof(T)));} - void deallocate(T* __p, size_t) {::operator delete((void*)__p);} + void deallocate(T* __p, size_t) {::operator delete(static_cast<void*>(__p));} size_t max_size() const {return size_t(~0) / sizeof(T);} }; |