Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82635 - branches/release/boost/thread/detail
From: vicente.botet_at_[hidden]
Date: 2013-01-27 08:33:43


Author: viboes
Date: 2013-01-27 08:33:42 EST (Sun, 27 Jan 2013)
New Revision: 82635
URL: http://svn.boost.org/trac/boost/changeset/82635

Log:
Thread: Fix #7918
Text files modified:
   branches/release/boost/thread/detail/thread.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: branches/release/boost/thread/detail/thread.hpp
==============================================================================
--- branches/release/boost/thread/detail/thread.hpp (original)
+++ branches/release/boost/thread/detail/thread.hpp 2013-01-27 08:33:42 EST (Sun, 27 Jan 2013)
@@ -725,7 +725,7 @@
         return const_cast<thread*>(this)->native_handle();
     #else
         detail::thread_data_ptr const local_thread_info=(get_thread_info)();
- return (local_thread_info? id(local_thread_info) id());
+ return (local_thread_info? id(local_thread_info) : id());
     #endif
     }
 


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