summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r--src/pugixml.cpp8
1 files changed, 0 insertions, 8 deletions
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;