summaryrefslogtreecommitdiff
path: root/src/reel_atmos_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-13 23:50:28 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-13 23:50:28 +0200
commit4bd57fbbac67ac04ec47a9765b9f278aa1691851 (patch)
tree55a607e6ac16fa52f69522312f2464443fac5aeb /src/reel_atmos_asset.h
parent488e3d1bd5e6b17d49f6db4df14c64f4b64db89b (diff)
Tidying a few things up.
Diffstat (limited to 'src/reel_atmos_asset.h')
-rw-r--r--src/reel_atmos_asset.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/reel_atmos_asset.h b/src/reel_atmos_asset.h
index 2e4a8d4e..6ceec984 100644
--- a/src/reel_atmos_asset.h
+++ b/src/reel_atmos_asset.h
@@ -60,8 +60,12 @@ public:
ReelAtmosAsset (std::shared_ptr<AtmosAsset> asset, int64_t entry_point);
explicit ReelAtmosAsset (std::shared_ptr<const cxml::Node>);
- std::shared_ptr<AtmosAsset> asset () const {
- return asset_of_type<AtmosAsset> ();
+ std::shared_ptr<const AtmosAsset> asset () const {
+ return asset_of_type<const AtmosAsset>();
+ }
+
+ std::shared_ptr<AtmosAsset> asset () {
+ return asset_of_type<AtmosAsset>();
}
xmlpp::Node* write_to_cpl (xmlpp::Node* node, Standard standard) const override;
@@ -71,6 +75,7 @@ private:
boost::optional<std::string> key_type () const override {
return std::string("MDEK");
}
+
std::string cpl_node_name (Standard standard) const override;
std::pair<std::string, std::string> cpl_node_namespace () const override;
};