aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/input/InputStream.hxx1
1 files changed, 1 insertions, 0 deletions
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;
}