Ticket #1522: boost-gil-gcc43-change-meaning-of-bit_range.patch

File boost-gil-gcc43-change-meaning-of-bit_range.patch, 827 bytes (added by chris.fairles@…, 15 years ago)

Patch for GCC 4.3 error in bit_aligned_pixel_reference.hpp

  • bit_aligned_pixel_reference.hpp

     
    121121          bool IsMutable>
    122122struct bit_aligned_pixel_reference {
    123123    BOOST_STATIC_CONSTANT(int, bit_size = (mpl::accumulate<ChannelBitSizes, mpl::int_<0>, mpl::plus<mpl::_1, mpl::_2> >::type::value));
    124     typedef bit_range<bit_size,IsMutable>                                           bit_range_t;
     124    typedef boost::gil::bit_range<bit_size,IsMutable>                               bit_range_t;
    125125    typedef BitField                                                                bitfield_t; 
    126126    typedef typename mpl::if_c<IsMutable,unsigned char*,const unsigned char*>::type data_ptr_t;
    127127