oops, forgot std::
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@120915 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1f970ad73a
commit
d42c4beeff
@ -36,7 +36,7 @@ operator new(std::size_t size) throw (std::bad_alloc)
|
||||
{
|
||||
// If malloc fails and there is a new_handler,
|
||||
// call it to try free up memory.
|
||||
std::new_handler nh = get_new_handler();
|
||||
std::new_handler nh = std::get_new_handler();
|
||||
if (nh)
|
||||
nh();
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user