From 97d6249f3bdedcf00a793b7378ec1fa5f1b5ed1e Mon Sep 17 00:00:00 2001 From: Anthony Williams Date: Tue, 8 Jun 2010 21:39:56 +0000 Subject: [PATCH] Added patch from issue #4305 --- limit SunCC workarounds to older versions [SVN r62601] --- include/boost/thread/detail/thread.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/thread/detail/thread.hpp b/include/boost/thread/detail/thread.hpp index 15aa552e..e2ea8e00 100644 --- a/include/boost/thread/detail/thread.hpp +++ b/include/boost/thread/detail/thread.hpp @@ -149,7 +149,7 @@ namespace boost #endif struct dummy; public: -#ifdef __SUNPRO_CC +#if BOOST_WORKAROUND(__SUNPRO_CC, < 0x5100) thread(const volatile thread&); #endif thread(); @@ -219,7 +219,7 @@ namespace boost x->thread_info.reset(); } -#ifdef __SUNPRO_CC +#if BOOST_WORKAROUND(__SUNPRO_CC, < 0x5100) thread& operator=(thread x) { swap(x);