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-03-20 18:21:14 +0100
commit8f1f5db2b193fe1db7eeabda2a7b3eee03dde886 (patch)
tree7cf76203fbfc7821721ed2224a1044d4f48d0fcd /src/dcp.cc
parenta451df311d43ee161864bf2faa4c584a0afa8b8f (diff)
Replace xmlpp::Node::add_child with cxml::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");
}