Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62719 - trunk/boost/thread
From: anthony_at_[hidden]
Date: 2010-06-10 03:43:20


Author: anthonyw
Date: 2010-06-10 03:43:17 EDT (Thu, 10 Jun 2010)
New Revision: 62719
URL: http://svn.boost.org/trac/boost/changeset/62719

Log:
Only apply Sunpro workarounds for older compilers. Fix for issue #4071

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

Modified: trunk/boost/thread/locks.hpp
==============================================================================
--- trunk/boost/thread/locks.hpp (original)
+++ trunk/boost/thread/locks.hpp 2010-06-10 03:43:17 EDT (Thu, 10 Jun 2010)
@@ -277,7 +277,7 @@
         unique_lock& operator=(unique_lock&);
         unique_lock& operator=(upgrade_lock<Mutex>& other);
     public:
-#ifdef __SUNPRO_CC
+#if BOOST_WORKAROUND(SUNPRO_CC, < 0x5100)
         unique_lock(const volatile unique_lock&);
 #endif
         unique_lock():
@@ -363,7 +363,7 @@
             return detail::thread_move_t<unique_lock<Mutex> >(*this);
         }
 
-#ifdef __SUNPRO_CC
+#if BOOST_WORKAROUND(SUNPRO_CC, < 0x5100)
         unique_lock& operator=(unique_lock<Mutex> other)
         {
             swap(other);


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