summaryrefslogtreecommitdiff
path: root/docs/samples/custom_memory_management.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'docs/samples/custom_memory_management.cpp')
-rw-r--r--docs/samples/custom_memory_management.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/samples/custom_memory_management.cpp b/docs/samples/custom_memory_management.cpp
index 92ccb71..f11d27e 100644
--- a/docs/samples/custom_memory_management.cpp
+++ b/docs/samples/custom_memory_management.cpp
@@ -21,7 +21,7 @@ int main()
//]
pugi::xml_document doc;
- doc.load("<node/>");
+ doc.load_string("<node/>");
}
// vim:et