Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62641 - trunk/boost/thread/detail
From: anthony_at_[hidden]
Date: 2010-06-09 03:59:33


Author: anthonyw
Date: 2010-06-09 03:59:31 EDT (Wed, 09 Jun 2010)
New Revision: 62641
URL: http://svn.boost.org/trac/boost/changeset/62641

Log:
Added BOOST_THREAD_DECL to friend declaration of
this_thread::get_id. Fix for issue #4316

Text files modified:
   trunk/boost/thread/detail/thread.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/thread/detail/thread.hpp
==============================================================================
--- trunk/boost/thread/detail/thread.hpp (original)
+++ trunk/boost/thread/detail/thread.hpp 2010-06-09 03:59:31 EDT (Wed, 09 Jun 2010)
@@ -396,7 +396,7 @@
             thread_data(thread_data_)
         {}
         friend class thread;
- friend id this_thread::get_id();
+ friend id BOOST_THREAD_DECL this_thread::get_id();
     public:
         id():
             thread_data()


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