From 25fa2c303a98654db2b4dead209da9fab8cd52a1 Mon Sep 17 00:00:00 2001 From: Markus Frank <markus.frank@cern.ch> Date: Fri, 25 Apr 2014 09:23:27 +0000 Subject: [PATCH] Fix compile error on MAC --- DDCore/src/XML/DocumentHandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DDCore/src/XML/DocumentHandler.cpp b/DDCore/src/XML/DocumentHandler.cpp index 760b484ed..302a7f7ad 100644 --- a/DDCore/src/XML/DocumentHandler.cpp +++ b/DDCore/src/XML/DocumentHandler.cpp @@ -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."); -- GitLab