new (set_new_handler): Declare to not throw any exceptions.

* libsupc++/new (set_new_handler): Declare to not throw any
	exceptions.
	* libsupc++/new_handler.cc (set_new_handler): Likewise.

From-SVN: r55480
This commit is contained in:
Andreas Schwab 2002-07-16 08:28:40 +00:00 committed by Andreas Schwab
parent 05abfd2d46
commit 984812cd39
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2002-07-16 Andreas Schwab <schwab@suse.de>
* libsupc++/new (set_new_handler): Declare to not throw any
exceptions.
* libsupc++/new_handler.cc (set_new_handler): Likewise.
2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
* include/Makefile.am (bits_headers): Remove slice.h

View File

@ -62,7 +62,7 @@ namespace std
* be of this type. */
typedef void (*new_handler)();
/// Takes a replacement handler as the argument, returns the previous handler.
new_handler set_new_handler(new_handler);
new_handler set_new_handler(new_handler) throw();
} // namespace std
//@{

View File

@ -37,7 +37,7 @@ using std::new_handler;
new_handler __new_handler;
new_handler
std::set_new_handler (new_handler handler)
std::set_new_handler (new_handler handler) throw()
{
new_handler prev_handler = __new_handler;
__new_handler = handler;