From d6bae76908e2d75dc9825b85fde19102369ad2f4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 21 Jan 2016 16:07:23 +0300 Subject: Add support for writing xml files from pugixml. --- src/utils/xml/pugixml.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/utils/xml/pugixml.cpp') diff --git a/src/utils/xml/pugixml.cpp b/src/utils/xml/pugixml.cpp index 7bff15f6c..9ca717d83 100644 --- a/src/utils/xml/pugixml.cpp +++ b/src/utils/xml/pugixml.cpp @@ -59,7 +59,6 @@ namespace XML const UseResman useResman, const SkipError skipError) : mDoc(), - mRoot(), mData(nullptr), mIsValid(false) { @@ -121,7 +120,6 @@ namespace XML mData = data; } - mRoot = mDoc.first_child(); // if (!mDoc) // logger->log("Error parsing XML file %s", filename.c_str()); } @@ -135,7 +133,6 @@ namespace XML Document::Document(const char *const data, const int size) : mDoc(), - mRoot(), mData(nullptr), mIsValid(true) { @@ -156,7 +153,6 @@ namespace XML } else { - mRoot = mDoc.first_child(); mData = buf; } } -- cgit v1.2.3-70-g09d2