InputStream: allow GetSize() only if KnownSize()
This commit is contained in:
@@ -229,6 +229,7 @@ public:
|
||||
gcc_pure
|
||||
offset_type GetSize() const {
|
||||
assert(ready);
|
||||
assert(KnownSize());
|
||||
|
||||
return size;
|
||||
}
|
||||
|
Reference in New Issue
Block a user