summaryrefslogtreecommitdiff
path: root/src/reel_atmos_asset.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/reel_atmos_asset.cc
parenta451df311d43ee161864bf2faa4c584a0afa8b8f (diff)
Replace xmlpp::Node::add_child with cxml::add_child.
Diffstat (limited to 'src/reel_atmos_asset.cc')
-rw-r--r--src/reel_atmos_asset.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reel_atmos_asset.cc b/src/reel_atmos_asset.cc
index ef39a4eb..c2cdb7f3 100644
--- a/src/reel_atmos_asset.cc
+++ b/src/reel_atmos_asset.cc
@@ -82,11 +82,11 @@ ReelAtmosAsset::cpl_node_namespace () const
}
-xmlpp::Node *
-ReelAtmosAsset::write_to_cpl (xmlpp::Node* node, Standard standard) const
+xmlpp::Element*
+ReelAtmosAsset::write_to_cpl(xmlpp::Element* node, Standard standard) const
{
auto asset = ReelFileAsset::write_to_cpl (node, standard);
- asset->add_child("axd:DataType")->add_child_text("urn:smpte:ul:060e2b34.04010105.0e090604.00000000");
+ cxml::add_text_child(asset, "axd:DataType", "urn:smpte:ul:060e2b34.04010105.0e090604.00000000");
return asset;
}