diff --git a/src/new.cpp b/src/new.cpp index e0bb7344..55e70ad0 100644 --- a/src/new.cpp +++ b/src/new.cpp @@ -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