const_cast: convert some C-style casts and remove some redundant ones
Change-Id: I84b3843b32bbec6dfe5a9c627927b04122d50abd
This commit is contained in:
@@ -178,7 +178,7 @@ void xml_parser::parse(const char* XmlData, size_t Length, bool IsFinal)
|
|||||||
XML_Parse(xml_parser_, XmlData, static_cast<int>(Length), IsFinal))
|
XML_Parse(xml_parser_, XmlData, static_cast<int>(Length), IsFinal))
|
||||||
{
|
{
|
||||||
throw xml_parser_exception(
|
throw xml_parser_exception(
|
||||||
(char*)XML_ErrorString(XML_GetErrorCode(xml_parser_)),
|
XML_ErrorString(XML_GetErrorCode(xml_parser_)),
|
||||||
(int)XML_GetErrorCode(xml_parser_),
|
(int)XML_GetErrorCode(xml_parser_),
|
||||||
XML_GetCurrentLineNumber(xml_parser_),
|
XML_GetCurrentLineNumber(xml_parser_),
|
||||||
XML_GetCurrentColumnNumber(xml_parser_),
|
XML_GetCurrentColumnNumber(xml_parser_),
|
||||||
|
Reference in New Issue
Block a user