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:
parent
05abfd2d46
commit
984812cd39
@ -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
|
||||
|
@ -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
|
||||
|
||||
//@{
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user