OSDN Git Service

PR c++/42983, core issue 906
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / include / std / thread
index 2d7a751..628c34a 100644 (file)
@@ -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); }