Fix warning in test - missing exception specifier for overload of operator new
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@212723 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bbeca21f26
commit
7778249d2d
@ -19,7 +19,7 @@
|
||||
|
||||
unsigned delete_called = 0;
|
||||
|
||||
void* operator new[](size_t sz)
|
||||
void* operator new[](size_t sz) throw(std::bad_alloc)
|
||||
{
|
||||
return operator new(sz);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user