diff --git a/src/input/InputStream.hxx b/src/input/InputStream.hxx index a84405df0..f335b4642 100644 --- a/src/input/InputStream.hxx +++ b/src/input/InputStream.hxx @@ -229,6 +229,7 @@ public: gcc_pure offset_type GetSize() const { assert(ready); + assert(KnownSize()); return size; }