summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-01 06:39:55 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-01 06:39:55 +0000
commitf8e990533957bc00f3fc406d51633aca4ea8d3f0 (patch)
tree1a5a8ecb5e18d519ab8ea55205621e1d19e4a9a3 /src/pugixml.cpp
parenta9d08d992378c8e73c80b949be1ec895ae597da8 (diff)
Removed redundant function
git-svn-id: http://pugixml.googlecode.com/svn/trunk@491 99668b35-9821-0410-8761-19e4c4f06640
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;