diff -rup /usr/include/boost/gil/bit_aligned_pixel_reference.hpp ./bit_aligned_pixel_reference.hpp
old
|
new
|
private:
|
169 | 169 | |
170 | 170 | private: |
171 | 171 | static void check_gray() { BOOST_STATIC_ASSERT((is_same<typename Layout::color_space_t, gray_t>::value)); } |
172 | | template <typename Channel> void assign(const Channel& chan, mpl::false_) const { check_gray(); at_c<0>(*this)=chan; } |
173 | | template <typename Channel> bool equal (const Channel& chan, mpl::false_) const { check_gray(); return at_c<0>(*this)==chan; } |
| 172 | template <typename Channel> void assign(const Channel& chan, mpl::false_) const { check_gray(); gil::at_c<0>(*this)=chan; } |
| 173 | template <typename Channel> bool equal (const Channel& chan, mpl::false_) const { check_gray(); return gil::at_c<0>(*this)==chan; } |
174 | 174 | }; |
175 | 175 | |
176 | 176 | ///////////////////////////// |
diff -rup /usr/include/boost/gil/gil_concept.hpp ./gil_concept.hpp
old
|
new
|
struct ColorBaseConcept {
|
618 | 618 | typedef typename kth_element_const_reference_type<ColorBase,num_elements-1>::type CR; |
619 | 619 | |
620 | 620 | #if !defined(_MSC_VER) || _MSC_VER > 1310 |
621 | | CR cr=at_c<num_elements-1>(cb); ignore_unused_variable_warning(cr); |
| 621 | CR cr=gil::at_c<num_elements-1>(cb); ignore_unused_variable_warning(cr); |
622 | 622 | #endif |
623 | 623 | |
624 | 624 | // functions that work for every pixel (no need to require them) |