summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2016-09-26 23:05:47 +1000
committerTim Mayberry <mojofunk@gmail.com>2017-04-19 09:36:57 +1000
commite4b1ece143d877a4cb713956c13f5f6fee50d3e6 (patch)
tree468eb58e890fa21c1d1c21d47e185d14418b5821 /libs/pbd
parent0c7581312974af9479d6b2fbebd7aa342f76a51f (diff)
Use XMLNode::set_property API in xml tests
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/test/xml_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/test/xml_test.cc b/libs/pbd/test/xml_test.cc
index 541c9f10bb..267ea2458b 100644
--- a/libs/pbd/test/xml_test.cc
+++ b/libs/pbd/test/xml_test.cc
@@ -181,7 +181,7 @@ create_child_nodes (XMLNode& parent_node, std::vector<NodeOptions>::iterator beg
}
for (uint32_t prop_count = 0; prop_count < options.node_property_count; ++prop_count) {
- new_node->add_property (properties[prop_count].first.c_str (), properties[prop_count].second);
+ new_node->set_property (properties[prop_count].first.c_str (), properties[prop_count].second);
}
if (!options.node_content.empty()) {