aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/libsupc++/new_op.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/libsupc++/new_op.cc')
-rw-r--r--libstdc++-v3/libsupc++/new_op.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/libsupc++/new_op.cc b/libstdc++-v3/libsupc++/new_op.cc
index c61e941bcff..bb0199e969e 100644
--- a/libstdc++-v3/libsupc++/new_op.cc
+++ b/libstdc++-v3/libsupc++/new_op.cc
@@ -42,7 +42,7 @@ extern "C" void *malloc (std::size_t);
extern new_handler __new_handler;
_GLIBCXX_WEAK_DEFINITION void *
-operator new (std::size_t sz) throw (std::bad_alloc)
+operator new (std::size_t sz) _GLIBCXX_THROW (std::bad_alloc)
{
void *p;