From 411bea5e69a5569ff38a89656aac05df2eded7f4 Mon Sep 17 00:00:00 2001 From: jason Date: Wed, 10 Feb 2010 21:48:35 +0000 Subject: PR c++/42983, core issue 906 * method.c (defaultable_fn_check): Check virtualness. * include/std/thread (~_Impl_base): Move default out of line. * libsupc++/nested_exception.h (~nested_exception): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156672 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/libsupc++/nested_exception.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libstdc++-v3/libsupc++/nested_exception.h') diff --git a/libstdc++-v3/libsupc++/nested_exception.h b/libstdc++-v3/libsupc++/nested_exception.h index 9b054840effc..713c33433e0a 100644 --- a/libstdc++-v3/libsupc++/nested_exception.h +++ b/libstdc++-v3/libsupc++/nested_exception.h @@ -63,7 +63,7 @@ namespace std nested_exception& operator=(const nested_exception&) = default; - virtual ~nested_exception() = default; + virtual ~nested_exception(); void rethrow_nested() const __attribute__ ((__noreturn__)) @@ -74,6 +74,8 @@ namespace std { return _M_ptr; } }; + inline nested_exception::~nested_exception() = default; + template struct _Nested_exception : public _Except, public nested_exception { -- cgit v1.2.3