Ticket #9020: image_view_factory.hpp.patch
File image_view_factory.hpp.patch, 772 bytes (added by , 9 years ago) |
---|
-
image_view_factory.hpp
old new 479 479 BOOST_STATIC_CONSTANT(bool, is_mutable=pixel_is_reference<SrcP>::value && pixel_reference_is_mutable<SrcP>::value); 480 480 private: 481 481 typedef typename remove_reference<SrcP>::type src_pixel_t; 482 typedef typename kth_element_type<src_pixel_t, K>::type channel_t; 482 typedef typename kth_element_type<src_pixel_t, K>::type channel_ref_t; 483 typedef typename remove_reference<channel_ref_t>::type channel_t; 483 484 typedef typename src_pixel_t::const_reference const_ref_t; 484 485 typedef typename pixel_reference_type<channel_t,gray_layout_t,false,is_mutable>::type ref_t; 485 486 public: