Commit 672f678e authored by Max Kellermann's avatar Max Kellermann

InputStream: use KnownSize() in assertion

parent b924568f
......@@ -249,7 +249,7 @@ public:
gcc_pure
offset_type GetRest() const {
assert(ready);
assert(size >= 0);
assert(KnownSize());
assert(offset >= 0);
return size - offset;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment