parse_file: fixed appending of ctx->errNo to string by using std::to_string on it
parent
07ddf03655
commit
88f9a91c35
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue