|
Boost-Commit : |
From: anthony_at_[hidden]
Date: 2008-05-26 03:36:16
Author: anthonyw
Date: 2008-05-26 03:36:16 EDT (Mon, 26 May 2008)
New Revision: 45764
URL: http://svn.boost.org/trac/boost/changeset/45764
Log:
Try and avoid compile errors in test_thread_callable_object_one_argument
Text files modified:
trunk/libs/thread/test/test_thread_launching.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/libs/thread/test/test_thread_launching.cpp
==============================================================================
--- trunk/libs/thread/test/test_thread_launching.cpp (original)
+++ trunk/libs/thread/test/test_thread_launching.cpp 2008-05-26 03:36:16 EDT (Mon, 26 May 2008)
@@ -96,7 +96,8 @@
void test_thread_callable_object_one_argument()
{
- boost::thread callable(callable_one_arg(),42);
+ callable_one_arg func;
+ boost::thread callable(func,42);
callable.join();
BOOST_CHECK(callable_one_arg::called);
BOOST_CHECK_EQUAL(callable_one_arg::called_arg,42);
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk