[Liblas-commits] hg: denote last point read if filtering reads off
end of the stream
liblas-commits at liblas.org
liblas-commits at liblas.org
Wed Jan 26 12:46:27 EST 2011
details: http://hg.liblas.orghg/rev/769d90492cfe
changeset: 2824:769d90492cfe
user: Howard Butler <hobu.inc at gmail.com>
date: Wed Jan 26 11:46:21 2011 -0600
description:
denote last point read if filtering reads off end of the stream
diffstat:
src/detail/reader/reader.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r 09ff946e9e8b -r 769d90492cfe src/detail/reader/reader.cpp
--- a/src/detail/reader/reader.cpp Wed Jan 26 11:18:07 2011 -0600
+++ b/src/detail/reader/reader.cpp Wed Jan 26 11:46:21 2011 -0600
@@ -193,6 +193,7 @@
} catch (std::runtime_error&)
{
// If the stream is no good anymore, we're done reading points
+ bLastPoint = true;
return;
}
@@ -207,6 +208,7 @@
} catch (std::runtime_error&)
{
// If the stream is no good anymore, we're done reading points
+ bLastPoint = true;
return;
}
if (m_current == m_size)
More information about the Liblas-commits
mailing list