From f117552334824b992a33c7559f9d8868ec3d7860 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Fri, 6 Apr 2018 18:38:46 +0100 Subject: [PATCH] post-merge fix --- lib/serialisation/XmlIO.cc | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lib/serialisation/XmlIO.cc b/lib/serialisation/XmlIO.cc index f4a5dbdc..bb2b9007 100644 --- a/lib/serialisation/XmlIO.cc +++ b/lib/serialisation/XmlIO.cc @@ -95,22 +95,6 @@ std::string XmlWriter::string(void) return oss.str(); } -XmlReader::XmlReader(const char *xmlstring,std::string toplev) : fileName_("") -{ - pugi::xml_parse_result result; - result = doc_.load_string(xmlstring); - if ( !result ) { - std::cerr << "XML error description (from char *): " << result.description() << "\nXML\n"<< xmlstring << "\n"; - std::cerr << "XML error offset (from char *) " << result.offset << "\nXML\n"<< xmlstring <<"\n"; - abort(); - } - if ( toplev == std::string("") ) { - node_ = doc_; - } else { - node_ = doc_.child(toplev.c_str()); - } -} - // Reader implementation /////////////////////////////////////////////////////// XmlReader::XmlReader(const std::string &s, const bool isBuffer, std::string toplev)