Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85643 - trunk/libs/thread/example
From: vicente.botet_at_[hidden]
Date: 2013-09-10 14:55:52


Author: viboes
Date: 2013-09-10 14:55:52 EDT (Tue, 10 Sep 2013)
New Revision: 85643
URL: http://svn.boost.org/trac/boost/changeset/85643

Log:
Thread: add workaround for non compliants compilers on scoped_thread constructor.

Text files modified:
   trunk/libs/thread/example/scoped_thread.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/thread/example/scoped_thread.cpp
==============================================================================
--- trunk/libs/thread/example/scoped_thread.cpp Tue Sep 10 13:40:30 2013 (r85642)
+++ trunk/libs/thread/example/scoped_thread.cpp 2013-09-10 14:55:52 EDT (Tue, 10 Sep 2013) (r85643)
@@ -85,7 +85,7 @@
     do_something_in_current_thread();
   }
   {
- boost::scoped_thread<> g( f, 1, 2 );
+ boost::scoped_thread<> g( &f, 1, 2 );
     do_something_in_current_thread();
   }
   return 0;


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