|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r83076 - trunk/libs/gil/io/test
From: chhenning_at_[hidden]
Date: 2013-02-21 21:29:14
Author: chhenning
Date: 2013-02-21 21:29:12 EST (Thu, 21 Feb 2013)
New Revision: 83076
URL: http://svn.boost.org/trac/boost/changeset/83076
Log:
changes to scanline_read_iterator.
Text files modified:
trunk/libs/gil/io/test/scanline_read_test.hpp | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
Modified: trunk/libs/gil/io/test/scanline_read_test.hpp
==============================================================================
--- trunk/libs/gil/io/test/scanline_read_test.hpp (original)
+++ trunk/libs/gil/io/test/scanline_read_test.hpp 2013-02-21 21:29:12 EST (Thu, 21 Feb 2013)
@@ -22,12 +22,11 @@
reader_t reader = make_scanline_reader( file_name, FormatTag() );
Image dst( reader._info._width, reader._info._height );
- vector< byte_t > buffer( reader._scanline_length );
- typedef scanline_read_iterator< reader_t > iterator_t;
+ typedef reader_t::iterator_t iterator_t;
- iterator_t it = iterator_t( reader, &buffer.front() );
- iterator_t end = iterator_t();
+ iterator_t it = reader.begin();
+ iterator_t end = reader.end();
for( int row = 0; it != end; ++it, ++row )
{
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