Rename xml_document::create/destroy for consistency
This commit is contained in:
parent
70f57fab6d
commit
2f98c62172
2 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -978,8 +978,8 @@ namespace pugi
|
|||
xml_document(const xml_document&);
|
||||
xml_document& operator=(const xml_document&);
|
||||
|
||||
void create();
|
||||
void destroy();
|
||||
void _create();
|
||||
void _destroy();
|
||||
|
||||
public:
|
||||
// Default constructor, makes empty document
|
||||
|
|
Loading…
Add table
Reference in a new issue