Ticket #8896: patch.txt

File patch.txt, 813 bytes (added by Shaun Marko <shaunm@…>, 9 years ago)

image_view.hpp patch

Line 
1--- image_view.hpp 2013-07-24 13:35:37.000000000 -0500
2+++ image_view.hpp.new 2013-07-24 13:32:19.000000000 -0500
3@@ -136,7 +136,7 @@
4 /// \name 2-D navigation
5 reference operator()(const point_t& p) const { return _pixels(p.x,p.y); }
6 reference operator()(x_coord_t x, y_coord_t y)const { return _pixels(x,y); }
7- template <std::size_t D> typename axis<D>::iterator axis_iterator(const point_t& p) const { return _pixels.axis_iterator<D>(p); }
8+ template <std::size_t D> typename axis<D>::iterator axis_iterator(const point_t& p) const { return _pixels.template axis_iterator<D>(p); }
9 xy_locator xy_at(x_coord_t x, y_coord_t y) const { return _pixels+point_t(x_coord_t(x),y_coord_t(y)); }
10 locator xy_at(const point_t& p) const { return _pixels+p; }
11 //\}@