Commit d079cda1 authored by Max Kellermann's avatar Max Kellermann

InputStream: allow GetSize() only if KnownSize()

parent 4265e71d
......@@ -229,6 +229,7 @@ public:
gcc_pure
offset_type GetSize() const {
assert(ready);
assert(KnownSize());
return size;
}
......
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