summaryrefslogtreecommitdiff
path: root/src/dcp.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-09 00:29:00 +0100
committerCarl Hetherington <cth@carlh.net>2024-02-25 19:59:43 +0100
commite602f01f8a5bfca0acd730a301ffbc8a675fe5d7 (patch)
tree9a73953fd7d788c11cb959f5df39a57d67cdf5de /src/dcp.cc
parentb395d79069cf64fd3a552fb843a31affa57662de (diff)
Replace xmlpp::Node::add_child with cxml::add_child.no-add-child
Diffstat (limited to 'src/dcp.cc')
-rw-r--r--src/dcp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index d603cfae..2906d575 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -441,7 +441,7 @@ DCP::write_volindex (Standard standard) const
DCP_ASSERT (false);
}
- root->add_child("Index")->add_child_text ("1");
+ cxml::add_text_child(root, "Index", "1");
doc.write_to_file_formatted(dcp::filesystem::fix_long_path(p).string(), "UTF-8");
}