summaryrefslogtreecommitdiff
path: root/src/utils/xml/pugixml.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-21 16:07:23 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-21 16:08:41 +0300
commitd6bae76908e2d75dc9825b85fde19102369ad2f4 (patch)
tree587336e2a71c20bf6ea44fb4798d8b09a7c4e4ca /src/utils/xml/pugixml.cpp
parent3439b247f9528a55b8d83e98011e305fd8ff4e0d (diff)
downloadmanaplus-d6bae76908e2d75dc9825b85fde19102369ad2f4.tar.gz
manaplus-d6bae76908e2d75dc9825b85fde19102369ad2f4.tar.bz2
manaplus-d6bae76908e2d75dc9825b85fde19102369ad2f4.tar.xz
manaplus-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.cpp4
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;
}
}