Boost logo

Boost-Commit :

From: pdimov_at_[hidden]
Date: 2007-11-02 19:46:05


Author: pdimov
Date: 2007-11-02 19:46:04 EDT (Fri, 02 Nov 2007)
New Revision: 40708
URL: http://svn.boost.org/trac/boost/changeset/40708

Log:
Port unspecified_bool fix for Sun 5.8 from RC_1_34
Text files modified:
   trunk/boost/shared_ptr.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/shared_ptr.hpp
==============================================================================
--- trunk/boost/shared_ptr.hpp (original)
+++ trunk/boost/shared_ptr.hpp 2007-11-02 19:46:04 EDT (Fri, 02 Nov 2007)
@@ -383,7 +383,7 @@
 
     // implicit conversion to "bool"
 
-#if ( defined(__SUNPRO_CC) && BOOST_WORKAROUND(__SUNPRO_CC, <= 0x530) ) || defined(__CINT__)
+#if ( defined(__SUNPRO_CC) && BOOST_WORKAROUND(__SUNPRO_CC, <= 0x580) ) || defined(__CINT__)
 
     operator bool () const
     {


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