Fix SubReadStream by initing _eos to false in the constructor (spotted thanks to our unit tests)
svn-id: r34555
This commit is contained in:
parent
621847b2e2
commit
15959faf3e
1 changed files with 2 additions and 1 deletions
|
@ -430,7 +430,8 @@ public:
|
||||||
: _parentStream(parentStream),
|
: _parentStream(parentStream),
|
||||||
_disposeParentStream(disposeParentStream),
|
_disposeParentStream(disposeParentStream),
|
||||||
_pos(0),
|
_pos(0),
|
||||||
_end(end) {
|
_end(end),
|
||||||
|
_eos(false) {
|
||||||
assert(parentStream);
|
assert(parentStream);
|
||||||
}
|
}
|
||||||
~SubReadStream() {
|
~SubReadStream() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue