Like so.
-benjamin
2011-03-15 Benjamin Kosnik <b...@redhat.com>
* include/std/thread: Revert.
* src/thread.cc: Same.
* config/abi/pre/gnu.ver: Same.
Index: src/thread.cc
===================================================================
--- src/thread.cc (revision 171019)
+++ src/thread.cc (working copy)
@@ -54,8 +54,6 @@
_GLIBCXX_BEGIN_NAMESPACE_VERSION
- thread::_Impl_base::~_Impl_base() = default;
-
void
thread::join()
{
Index: include/std/thread
===================================================================
--- include/std/thread (revision 171019)
+++ include/std/thread (working copy)
@@ -100,7 +100,7 @@
{
__shared_base_type _M_this_ptr;
- virtual ~_Impl_base();
+ inline virtual ~_Impl_base();
virtual void _M_run() = 0;
};
@@ -195,6 +195,8 @@
}
};
+ inline thread::_Impl_base::~_Impl_base() = default;
+
inline void
swap(thread& __x, thread& __y)
{ __x.swap(__y); }
Index: config/abi/pre/gnu.ver
===================================================================
--- config/abi/pre/gnu.ver (revision 171019)
+++ config/abi/pre/gnu.ver (working copy)
@@ -1255,11 +1255,6 @@
_ZTSNSt13__future_base11_State_baseE;
_ZTVNSt13__future_base11_State_baseE;
- _ZNSt6thread10_Impl_baseD*;
- _ZTINSt6thread10_Impl_baseE;
- _ZTSNSt6thread10_Impl_baseE;
- _ZTVNSt6thread10_Impl_baseE;
-
} GLIBCXX_3.4.14;
# Symbols in the support library (libsupc++) have their own tag.