Switch to using C++ style casts.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@198505 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -167,7 +167,7 @@ set_new_handler(new_handler handler) _NOEXCEPT
|
||||
new_handler
|
||||
get_new_handler() _NOEXCEPT
|
||||
{
|
||||
return __sync_fetch_and_add(&__new_handler, (new_handler)0);
|
||||
return __sync_fetch_and_add(&__new_handler, nullptr);
|
||||
}
|
||||
|
||||
#endif // !__GLIBCXX__
|
||||
|
||||
Reference in New Issue
Block a user