summaryrefslogtreecommitdiff
path: root/docs/samples/xpath_variables.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'docs/samples/xpath_variables.cpp')
-rw-r--r--docs/samples/xpath_variables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/samples/xpath_variables.cpp b/docs/samples/xpath_variables.cpp
index 5404c0b..52313bf 100644
--- a/docs/samples/xpath_variables.cpp
+++ b/docs/samples/xpath_variables.cpp
@@ -27,7 +27,7 @@ int main()
std::cout << "Local tool: ";
tools_local[0].node().print(std::cout);
- // You can pass the context directly to select_nodes/select_single_node
+ // You can pass the context directly to select_nodes/select_node
pugi::xpath_node_set tools_local_imm = doc.select_nodes("/Profile/Tools/Tool[@AllowRemote = string($remote)]", &vars);
std::cout << "Local tool imm: ";