mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Use XMLNode::set_property API in xml tests
This commit is contained in:
parent
0c75813129
commit
e4b1ece143
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
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()) {
|
if (!options.node_content.empty()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue