Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62601 - trunk/boost/thread/detail
From: anthony_at_[hidden]
Date: 2010-06-08 17:39:57


Author: anthonyw
Date: 2010-06-08 17:39:56 EDT (Tue, 08 Jun 2010)
New Revision: 62601
URL: http://svn.boost.org/trac/boost/changeset/62601

Log:
Added patch from issue #4305 --- limit SunCC workarounds to older versions
Text files modified:
   trunk/boost/thread/detail/thread.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/thread/detail/thread.hpp
==============================================================================
--- trunk/boost/thread/detail/thread.hpp (original)
+++ trunk/boost/thread/detail/thread.hpp 2010-06-08 17:39:56 EDT (Tue, 08 Jun 2010)
@@ -149,7 +149,7 @@
 #endif
         struct dummy;
     public:
-#ifdef __SUNPRO_CC
+#if BOOST_WORKAROUND(__SUNPRO_CC, < 0x5100)
         thread(const volatile thread&);
 #endif
         thread();
@@ -219,7 +219,7 @@
             x->thread_info.reset();
         }
        
-#ifdef __SUNPRO_CC
+#if BOOST_WORKAROUND(__SUNPRO_CC, < 0x5100)
         thread& operator=(thread x)
         {
             swap(x);


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