lib/expat: use C++ exceptions instead of class Error

This commit is contained in:
Max Kellermann
2016-02-06 08:45:19 +01:00
parent cd2f65aafc
commit 6c5bc9b4a3
11 changed files with 108 additions and 174 deletions

View File

@@ -236,9 +236,9 @@ protected:
}
};
bool
UPnPDirContent::parse(const char *input, Error &error)
void
UPnPDirContent::Parse(const char *input)
{
UPnPDirParser parser(*this);
return parser.Parse(input, strlen(input), true, error);
parser.Parse(input, strlen(input), true);
}