]> granicus.if.org Git - gc/commit
Do not specify throw(bad_alloc) in gc_cpp.h
authorIvan Maidanski <ivmai@mail.ru>
Fri, 15 Jun 2018 08:20:42 +0000 (11:20 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 15 Jun 2018 08:20:42 +0000 (11:20 +0300)
commit4399253c2e84ce8bdddab1bd8b551fe9862e8807
tree65d293ed122316a7c9614cbad37b8dc7b0ad2f57
parent38b46be3ed7dd89bcda5418a67b01edc6dfd4a9c
Do not specify throw(bad_alloc) in gc_cpp.h
(fix of commit cb1194d17)

* gc_cpp.cc (GC_NEW_DELETE_NEED_THROW, GC_DECL_NEW_THROW): Move from
gc_cpp.h.
* include/gc_cpp.h (gc::new, new): Remove GC_DECL_NEW_THROW specifier.
* include/gc_cpp.h [GC_OPERATOR_NEW_ARRAY] (gc::new[], new[]):
Likewise.
gc_cpp.cc
include/gc_cpp.h