diff options
Diffstat (limited to 'project2/xml/mutators/rename.cpp')
-rw-r--r-- | project2/xml/mutators/rename.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/project2/xml/mutators/rename.cpp b/project2/xml/mutators/rename.cpp index 74a4578..544afd9 100644 --- a/project2/xml/mutators/rename.cpp +++ b/project2/xml/mutators/rename.cpp @@ -13,8 +13,8 @@ class Rename : public XmlDocMutator { } void mutateElement(xmlpp::Element * root) const { - BOOST_FOREACH(xmlpp::Node * e, root->find(xpath())) { - e->set_name(newname()); + BOOST_FOREACH(xmlpp::Node * e, root->find(xpath(NULL))) { + e->set_name(newname(NULL)); } } Variable xpath; |