diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-02-10 21:48:35 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-02-10 21:48:35 +0000 |
commit | 411bea5e69a5569ff38a89656aac05df2eded7f4 (patch) | |
tree | 1a4635e30a19420754667446c235f2ef0f178b88 /libstdc++-v3/libsupc++/nested_exception.h | |
parent | 1e1f8b7f57588db63a2b9922fe5a74e11646544e (diff) |
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
Diffstat (limited to 'libstdc++-v3/libsupc++/nested_exception.h')
-rw-r--r-- | libstdc++-v3/libsupc++/nested_exception.h | 4 |
1 files changed, 3 insertions, 1 deletions
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<typename _Except> struct _Nested_exception : public _Except, public nested_exception { |