Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58302 - trunk/boost/gil
From: chhenning_at_[hidden]
Date: 2009-12-11 16:43:13


Author: chhenning
Date: 2009-12-11 16:43:12 EST (Fri, 11 Dec 2009)
New Revision: 58302
URL: http://svn.boost.org/trac/boost/changeset/58302

Log:
Added gil namespace prefix to at_c<...> calls.
Text files modified:
   trunk/boost/gil/packed_pixel.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/gil/packed_pixel.hpp
==============================================================================
--- trunk/boost/gil/packed_pixel.hpp (original)
+++ trunk/boost/gil/packed_pixel.hpp 2009-12-11 16:43:12 EST (Fri, 11 Dec 2009)
@@ -85,11 +85,11 @@
     }
     packed_pixel(int chan0, int chan1, int chan2, int chan3) : _bitfield(0) {
         BOOST_STATIC_ASSERT((num_channels<packed_pixel>::value==4));
- at_c<0>(*this)=chan0; at_c<1>(*this)=chan1; at_c<2>(*this)=chan2; at_c<3>(*this)=chan3;
+ gil::at_c<0>(*this)=chan0; gil::at_c<1>(*this)=chan1; gil::at_c<2>(*this)=chan2; gil::at_c<3>(*this)=chan3;
     }
     packed_pixel(int chan0, int chan1, int chan2, int chan3, int chan4) : _bitfield(0) {
         BOOST_STATIC_ASSERT((num_channels<packed_pixel>::value==5));
- at_c<0>(*this)=chan0; at_c<1>(*this)=chan1; at_c<2>(*this)=chan2; at_c<3>(*this)=chan3; at_c<4>(*this)=chan4;
+ gil::at_c<0>(*this)=chan0; gil::at_c<1>(*this)=chan1; gil::at_c<2>(*this)=chan2; gil::at_c<3>(*this)=chan3; gil::at_c<4>(*this)=chan4;
     }
 
     packed_pixel& operator=(const packed_pixel& p) { _bitfield=p._bitfield; return *this; }


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