Fixes for IRIX build.

This commit is contained in:
Robert Osfield
2002-03-28 23:06:20 +00:00
parent 88de33c29d
commit 34c05db393
2 changed files with 10 additions and 10 deletions

View File

@@ -699,8 +699,8 @@ void *operator new(size_t reportedSize) throw (std::bad_alloc)
// There isn't a way to determine the new handler, except through setting it. So we'll just set it to NULL, then
// set it back again.
new_handler nh = set_new_handler(0);
set_new_handler(nh);
std::new_handler nh = std::set_new_handler(0);
std::set_new_handler(nh);
// If there is an error handler, call it
@@ -751,8 +751,8 @@ void *operator new[](size_t reportedSize) throw (std::bad_alloc)
// There isn't a way to determine the new handler, except through setting it. So we'll just set it to NULL, then
// set it back again.
new_handler nh = set_new_handler(0);
set_new_handler(nh);
std::new_handler nh = std::set_new_handler(0);
std::set_new_handler(nh);
// If there is an error handler, call it
@@ -809,8 +809,8 @@ void *operator new(size_t reportedSize, const char *sourceFile, int sourceLin
// There isn't a way to determine the new handler, except through setting it. So we'll just set it to NULL, then
// set it back again.
new_handler nh = set_new_handler(0);
set_new_handler(nh);
std::new_handler nh = std::set_new_handler(0);
std::set_new_handler(nh);
// If there is an error handler, call it
@@ -861,8 +861,8 @@ void *operator new[](size_t reportedSize, const char *sourceFile, int sourceL
// There isn't a way to determine the new handler, except through setting it. So we'll just set it to NULL, then
// set it back again.
new_handler nh = set_new_handler(0);
set_new_handler(nh);
std::new_handler nh = std::set_new_handler(0);
std::set_new_handler(nh);
// If there is an error handler, call it