Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65907 - branches/release/boost/gil
From: chhenning_at_[hidden]
Date: 2010-10-11 11:50:02


Author: chhenning
Date: 2010-10-11 11:49:50 EDT (Mon, 11 Oct 2010)
New Revision: 65907
URL: http://svn.boost.org/trac/boost/changeset/65907

Log:
Added gil:: namespace to all at_c calls. This seems necessary for current gcc ( 4.4 and more ) compilers. See #3041 and #3619.
Text files modified:
   branches/release/boost/gil/bit_aligned_pixel_reference.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: branches/release/boost/gil/bit_aligned_pixel_reference.hpp
==============================================================================
--- branches/release/boost/gil/bit_aligned_pixel_reference.hpp (original)
+++ branches/release/boost/gil/bit_aligned_pixel_reference.hpp 2010-10-11 11:49:50 EDT (Mon, 11 Oct 2010)
@@ -169,8 +169,8 @@
 
 private:
     static void check_gray() { BOOST_STATIC_ASSERT((is_same<typename Layout::color_space_t, gray_t>::value)); }
- template <typename Channel> void assign(const Channel& chan, mpl::false_) const { check_gray(); at_c<0>(*this)=chan; }
- template <typename Channel> bool equal (const Channel& chan, mpl::false_) const { check_gray(); return at_c<0>(*this)==chan; }
+ template <typename Channel> void assign(const Channel& chan, mpl::false_) const { check_gray(); gil::at_c<0>(*this)=chan; }
+ template <typename Channel> bool equal (const Channel& chan, mpl::false_) const { check_gray(); return gil::at_c<0>(*this)==chan; }
 };
 
 /////////////////////////////


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