From e602f01f8a5bfca0acd730a301ffbc8a675fe5d7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 9 Feb 2024 00:29:00 +0100 Subject: Replace xmlpp::Node::add_child with cxml::add_child. --- src/dcp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dcp.cc') 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"); } -- cgit v1.2.3