Removed redundant function

git-svn-id: http://pugixml.googlecode.com/svn/trunk@491 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2010-06-01 06:39:55 +00:00
parent a9d08d9923
commit f8e9905339

View File

@ -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;