summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml.cpp b/src/xml.cpp
index bb7ebd4..a6c85ae 100644
--- a/src/xml.cpp
+++ b/src/xml.cpp
@@ -38,7 +38,7 @@ XML::parse(istream& ins)
38 if ( ::XML_Parse(parser.get(), buffer.data(), static_cast<int>(ins.gcount()), static_cast<int>(done)) != XML_STATUS_OK ) { 38 if ( ::XML_Parse(parser.get(), buffer.data(), static_cast<int>(ins.gcount()), static_cast<int>(done)) != XML_STATUS_OK ) {
39 stringstream msg; 39 stringstream msg;
40 40
41 msg << ::XML_ErrorString(XML_GetErrorCode(parser.get())); 41 msg << ::XML_ErrorString(::XML_GetErrorCode(parser.get()));
42 msg << " in line " << ::XML_GetCurrentLineNumber(parser.get()); 42 msg << " in line " << ::XML_GetCurrentLineNumber(parser.get());
43 43
44 throw runtime_error(msg.str()); 44 throw runtime_error(msg.str());