Skip to content
Snippets Groups Projects
Commit 25fa2c30 authored by Markus Frank's avatar Markus Frank
Browse files

Fix compile error on MAC

parent 1dc12ac7
No related branches found
No related tags found
No related merge requests found
......@@ -295,7 +295,7 @@ Document DocumentHandler::load(const string& fname) const {
if ( doc->Error() ) {
printout(FATAL,"DocumentHandler","+++ Error (TinyXML) while parsing XML document:%s",doc->ErrorDesc());
printout(FATAL,"DocumentHandler","+++ Document:%s Location Line:%d Column:%d",
doc->Value().c_str(), doc->ErrorRow(), doc->ErrorCol());
doc->Value(), doc->ErrorRow(), doc->ErrorCol());
throw runtime_error(string("DD4hep: ")+doc->ErrorDesc());
}
throw runtime_error("DD4hep: Unknown error whaile parsing XML document with TinyXML.");
......@@ -322,7 +322,7 @@ Document DocumentHandler::parse(const char* doc_string, size_t /* length */) con
if ( doc->Error() ) {
printout(FATAL,"DocumentHandler","+++ Error (TinyXML) while parsing XML document:%s",doc->ErrorDesc());
printout(FATAL,"DocumentHandler","+++ Document:%s Location Line:%d Column:%d",
doc->Value().c_str(), doc->ErrorRow(), doc->ErrorCol());
doc->Value(), doc->ErrorRow(), doc->ErrorCol());
throw runtime_error(string("DD4hep: ")+doc->ErrorDesc());
}
throw runtime_error("DD4hep: Unknown error whaile parsing XML document with TiXml.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment