InputStream: use KnownSize() in assertion

This commit is contained in:
Max Kellermann 2014-08-19 11:56:51 +02:00
parent b924568f79
commit 672f678ed6

View File

@ -249,7 +249,7 @@ public:
gcc_pure
offset_type GetRest() const {
assert(ready);
assert(size >= 0);
assert(KnownSize());
assert(offset >= 0);
return size - offset;