Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49760 - trunk/boost/gil
From: Boris.Gubenko_at_[hidden]
Date: 2008-11-14 13:14:25


Author: bgubenko
Date: 2008-11-14 13:14:24 EST (Fri, 14 Nov 2008)
New Revision: 49760
URL: http://svn.boost.org/trac/boost/changeset/49760

Log:
extend workaround for Core Issue 574 to icc 10.1 and later
Text files modified:
   trunk/boost/gil/planar_pixel_reference.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/gil/planar_pixel_reference.hpp
==============================================================================
--- trunk/boost/gil/planar_pixel_reference.hpp (original)
+++ trunk/boost/gil/planar_pixel_reference.hpp 2008-11-14 13:14:24 EST (Fri, 14 Nov 2008)
@@ -86,7 +86,7 @@
 // "copy assignment operator").
 // EDG implemented Core Issue 574 starting with EDG Version 3.8. I'm not
 // sure why they did it for a template member function as well.
-#if BOOST_WORKAROUND(__HP_aCC, >= 61700)
+#if BOOST_WORKAROUND(__HP_aCC, >= 61700) || BOOST_WORKAROUND(__INTEL_COMPILER, >= 1010)
     const planar_pixel_reference& operator=(const planar_pixel_reference& p) { static_copy(p,*this); return *this; }
     template <typename P> const planar_pixel_reference& operator=(const P& p) { check_compatible<P>(); static_copy(p,*this); return *this; }
 #endif


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