diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a57153119d5..560303f8f08 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2010-02-11 Jason Merrill + + * include/std/thread (~_Impl_base): Declare inline. + * libsupc++/nested_exception.h (~nested_exception): Likewise. + 2010-02-11 Paolo Carlini PR libstdc++/41975, DR 579 diff --git a/libstdc++-v3/include/std/thread b/libstdc++-v3/include/std/thread index 628c34a7f98..f72f5e5a3a6 100644 --- a/libstdc++-v3/include/std/thread +++ b/libstdc++-v3/include/std/thread @@ -97,7 +97,7 @@ namespace std { __shared_base_type _M_this_ptr; - virtual ~_Impl_base(); + inline virtual ~_Impl_base(); virtual void _M_run() = 0; }; diff --git a/libstdc++-v3/libsupc++/nested_exception.h b/libstdc++-v3/libsupc++/nested_exception.h index 713c33433e0..9fc2f8a74ba 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(); + inline virtual ~nested_exception(); void rethrow_nested() const __attribute__ ((__noreturn__))