summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2016-11-07 08:22:54 -0800
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2016-11-07 08:22:54 -0800
commit2f98c62172fb3bdf45229cdfc3e735366874e962 (patch)
tree5dc5a2a3f870b8c6fdf78f67fc375fd601598144 /src/pugixml.cpp
parent70f57fab6d4881ab94055213ccc10a3d43858f1e (diff)
Rename xml_document::create/destroy for consistency
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r--src/pugixml.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index ccf8c4c..3949688 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -6812,18 +6812,18 @@ namespace pugi
PUGI__FN xml_document::xml_document(): _buffer(0)
{
- create();
+ _create();
}
PUGI__FN xml_document::~xml_document()
{
- destroy();
+ _destroy();
}
PUGI__FN void xml_document::reset()
{
- destroy();
- create();
+ _destroy();
+ _create();
}
PUGI__FN void xml_document::reset(const xml_document& proto)
@@ -6834,7 +6834,7 @@ namespace pugi
append_copy(cur);
}
- PUGI__FN void xml_document::create()
+ PUGI__FN void xml_document::_create()
{
assert(!_root);
@@ -6871,7 +6871,7 @@ namespace pugi
assert(reinterpret_cast<char*>(_root) + sizeof(impl::xml_document_struct) <= _memory + sizeof(_memory));
}
- PUGI__FN void xml_document::destroy()
+ PUGI__FN void xml_document::_destroy()
{
assert(_root);