diff options
Diffstat (limited to 'src/reel_sound_asset.cc')
| -rw-r--r-- | src/reel_sound_asset.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reel_sound_asset.cc b/src/reel_sound_asset.cc index 1b582535..178b0a08 100644 --- a/src/reel_sound_asset.cc +++ b/src/reel_sound_asset.cc @@ -60,7 +60,7 @@ ReelSoundAsset::ReelSoundAsset (shared_ptr<const cxml::Node> node) } string -ReelSoundAsset::cpl_node_name () const +ReelSoundAsset::cpl_node_name (Standard) const { return "MainSound"; } @@ -78,7 +78,7 @@ ReelSoundAsset::write_to_cpl (xmlpp::Node* node, Standard standard) const if (key_id ()) { /* Find <MainSound> */ - xmlpp::Node* ms = find_child (node, cpl_node_name ()); + xmlpp::Node* ms = find_child (node, cpl_node_name (standard)); /* Find <Hash> */ xmlpp::Node* hash = find_child (ms, "Hash"); ms->add_child_before (hash, "KeyId")->add_child_text ("urn:uuid:" + key_id().get ()); |
