Fix SubReadStream by initing _eos to false in the constructor (spotted thanks to our unit tests)

svn-id: r34555
This commit is contained in:
Max Horn 2008-09-15 10:05:36 +00:00
parent 621847b2e2
commit 15959faf3e

View File

@ -430,7 +430,8 @@ public:
: _parentStream(parentStream),
_disposeParentStream(disposeParentStream),
_pos(0),
_end(end) {
_end(end),
_eos(false) {
assert(parentStream);
}
~SubReadStream() {