From 5c111680f6209163983c7d65c400555555a6e8e5 Mon Sep 17 00:00:00 2001 From: Don BURNS Date: Thu, 24 Oct 2002 15:24:39 +0000 Subject: [PATCH] FIxed set_new_handler to std::set_new_handler --- src/osg/MemoryManager.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/osg/MemoryManager.cpp b/src/osg/MemoryManager.cpp index babe15312..d92551ed3 100644 --- a/src/osg/MemoryManager.cpp +++ b/src/osg/MemoryManager.cpp @@ -783,8 +783,8 @@ sMStats m_getMemoryStatistics() // 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); + new_handler nh = std::set_new_handler(0); + std::set_new_handler(nh); // If there is an error handler, call it @@ -835,8 +835,8 @@ sMStats m_getMemoryStatistics() // 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); + new_handler nh = std::set_new_handler(0); + std::set_new_handler(nh); // If there is an error handler, call it @@ -893,8 +893,8 @@ sMStats m_getMemoryStatistics() // 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); + new_handler nh = std::set_new_handler(0); + std::set_new_handler(nh); // If there is an error handler, call it @@ -945,8 +945,8 @@ sMStats m_getMemoryStatistics() // 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); + new_handler nh = std::set_new_handler(0); + std::set_new_handler(nh); // If there is an error handler, call it