parse_file: fixed appending of ctx->errNo to string by using std::to_string on it

master
Emanuel Vintila 2017-11-30 13:32:32 +01:00 committed by Nicholas Brown
parent 07ddf03655
commit 88f9a91c35
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ XMLDocument* XMLDocument::parse_file(const std::string& fileName)
if(ctx->errNo) {
exceptionMsg = "Can't parse the file; libxml inidicates error "
+ ctx->errNo;
+ std::to_string(ctx->errNo);
goto free;
}