Removed redundant function
git-svn-id: http://pugixml.googlecode.com/svn/trunk@491 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
a9d08d9923
commit
f8e9905339
@ -518,14 +518,6 @@ namespace
|
||||
return new (memory) xml_node_struct(page, type);
|
||||
}
|
||||
|
||||
inline xml_document_struct* allocate_document(xml_allocator& alloc)
|
||||
{
|
||||
xml_memory_page* page;
|
||||
void* memory = alloc.allocate_memory(sizeof(xml_document_struct), page);
|
||||
|
||||
return new (memory) xml_document_struct(page);
|
||||
}
|
||||
|
||||
inline void destroy_attribute(xml_attribute_struct* a, xml_allocator& alloc)
|
||||
{
|
||||
uintptr_t header = a->header;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user