summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/std/thread
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-10 21:48:35 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-10 21:48:35 +0000
commit411bea5e69a5569ff38a89656aac05df2eded7f4 (patch)
tree1a4635e30a19420754667446c235f2ef0f178b88 /libstdc++-v3/include/std/thread
parent1e1f8b7f57588db63a2b9922fe5a74e11646544e (diff)
downloadppe42-gcc-411bea5e69a5569ff38a89656aac05df2eded7f4.tar.gz
ppe42-gcc-411bea5e69a5569ff38a89656aac05df2eded7f4.zip
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/include/std/thread')
-rw-r--r--libstdc++-v3/include/std/thread4
1 files changed, 3 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/thread b/libstdc++-v3/include/std/thread
index 2d7a7513834..628c34a7f98 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() = default;
+ virtual ~_Impl_base();
virtual void _M_run() = 0;
};
@@ -193,6 +193,8 @@ namespace std
}
};
+ inline thread::_Impl_base::~_Impl_base() = default;
+
inline void
swap(thread& __x, thread& __y)
{ __x.swap(__y); }
OpenPOWER on IntegriCloud