diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-21 16:07:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-21 16:08:41 +0300 |
commit | d6bae76908e2d75dc9825b85fde19102369ad2f4 (patch) | |
tree | 587336e2a71c20bf6ea44fb4798d8b09a7c4e4ca /src/utils/xml/pugixml.cpp | |
parent | 3439b247f9528a55b8d83e98011e305fd8ff4e0d (diff) | |
download | plus-d6bae76908e2d75dc9825b85fde19102369ad2f4.tar.gz plus-d6bae76908e2d75dc9825b85fde19102369ad2f4.tar.bz2 plus-d6bae76908e2d75dc9825b85fde19102369ad2f4.tar.xz plus-d6bae76908e2d75dc9825b85fde19102369ad2f4.zip |
Add support for writing xml files from pugixml.
Diffstat (limited to 'src/utils/xml/pugixml.cpp')
-rw-r--r-- | src/utils/xml/pugixml.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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; } } |