diff options
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 { |