From be9b90221a75bfcb0bbb9a87add8d359eec3b1b5 Mon Sep 17 00:00:00 2001 From: cfairles Date: Mon, 9 Feb 2009 00:13:47 +0000 Subject: 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144023 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/include/std/thread | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libstdc++-v3/include') diff --git a/libstdc++-v3/include/std/thread b/libstdc++-v3/include/std/thread index 9ce5fdd584c..3704192913f 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.2.3