From b47f0044ab61a5995966a5af9d65da24d4490627 Mon Sep 17 00:00:00 2001 From: Chris Fairles Date: Mon, 9 Feb 2009 00:13:47 +0000 Subject: thread (thread<>::thread(_Callable)): Explicitly use _Callable as template argument for _M_make_shared_data. 2009-02-08 Chris Fairles * include/std/thread (thread<>::thread(_Callable)): Explicitly use _Callable as template argument for _M_make_shared_data. * testsuite/30_threads/thread/cons/6.cc: New. * testsuite/30_threads/thread/cons/7.cc: New. * testsuite/30_threads/thread/cons/8.cc: New. From-SVN: r144023 --- libstdc++-v3/include/std/thread | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libstdc++-v3/include/std/thread') diff --git a/libstdc++-v3/include/std/thread b/libstdc++-v3/include/std/thread index 9ce5fdd..3704192 100644 --- a/libstdc++-v3/include/std/thread +++ b/libstdc++-v3/include/std/thread @@ -128,7 +128,7 @@ namespace std template explicit thread(_Callable __f) - : _M_data(_M_make_shared_data(__f)) + : _M_data(_M_make_shared_data<_Callable>(__f)) { _M_start_thread(); } template -- cgit v1.1