Skip to content

Commit 61c9448

Browse files
committed
docs: Fix typo in comment
The remove_attribute call removes 'value' attribute; 'id' attribute is removed later in the sample. Fixes #684.
1 parent e86ffc5 commit 61c9448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/samples/modify_remove.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ int main()
1212
pugi::xml_node node = doc.child("node");
1313
node.remove_child("description");
1414

15-
// remove id attribute
15+
// remove value attribute
1616
pugi::xml_node param = node.child("param");
1717
param.remove_attribute("value");
1818

0 commit comments

Comments
 (0)