Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81534 - trunk/boost/thread/detail
From: vicente.botet_at_[hidden]
Date: 2012-11-25 13:38:42


Author: viboes
Date: 2012-11-25 13:38:42 EST (Sun, 25 Nov 2012)
New Revision: 81534
URL: http://svn.boost.org/trac/boost/changeset/81534

Log:
Thread: improve is_convertible workaround to take care bug for of gcc-4.4 and intel 10.1
Text files modified:
   trunk/boost/thread/detail/is_convertible.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/thread/detail/is_convertible.hpp
==============================================================================
--- trunk/boost/thread/detail/is_convertible.hpp (original)
+++ trunk/boost/thread/detail/is_convertible.hpp 2012-11-25 13:38:42 EST (Sun, 25 Nov 2012)
@@ -33,7 +33,7 @@
> : false_type {};
 #endif
 
-#elif defined __GNUC__ && __GNUC__ < 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ < 4 )
+#elif defined __GNUC__ && (__GNUC__ < 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ <= 4 ))
 
     template <typename T1, typename T2>
     struct is_convertible<T1&, T2&> : boost::is_convertible<T1, T2> {};


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