From f8e990533957bc00f3fc406d51633aca4ea8d3f0 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Tue, 1 Jun 2010 06:39:55 +0000 Subject: Removed redundant function git-svn-id: http://pugixml.googlecode.com/svn/trunk@491 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixml.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 7f6e13a..6dcdbf6 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -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; -- cgit v1.2.3