InputStream: "protect" attributes

This commit is contained in:
Max Kellermann
2014-05-11 18:34:09 +02:00
parent e138e2c880
commit 0b4fa41aff
14 changed files with 53 additions and 37 deletions

View File

@@ -51,7 +51,7 @@ ExpatParser::Parse(const char *data, size_t length, bool is_final,
bool
ExpatParser::Parse(InputStream &is, Error &error)
{
assert(is.ready);
assert(is.IsReady());
while (true) {
char buffer[4096];