diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-12-16 20:20:47 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-16 20:20:47 +0000 |
| commit | ff896d5f5ec20e1371b423bb746c32fa55cc126a (patch) | |
| tree | bcd6f76709753812c8a988ad43c1f7b8727c6f28 /src/reel_asset.cc | |
| parent | 7a8bf6efd00161b1ce7bb160bd50a0c11c28d792 (diff) | |
Ref does not need to be a template since it's always used for Asset.
Diffstat (limited to 'src/reel_asset.cc')
| -rw-r--r-- | src/reel_asset.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reel_asset.cc b/src/reel_asset.cc index 46e0bd3c..ecaaa1fc 100644 --- a/src/reel_asset.cc +++ b/src/reel_asset.cc @@ -96,7 +96,7 @@ ReelAsset::write_to_cpl (xmlpp::Node* node, Standard standard) const a->add_child("IntrinsicDuration")->add_child_text (raw_convert<string> (_intrinsic_duration)); a->add_child("EntryPoint")->add_child_text (raw_convert<string> (_entry_point)); a->add_child("Duration")->add_child_text (raw_convert<string> (_duration)); - a->add_child("Hash")->add_child_text (_asset_ref.object()->hash ()); + a->add_child("Hash")->add_child_text (_asset_ref.asset()->hash ()); } pair<string, string> @@ -149,7 +149,7 @@ ReelAsset::equals (shared_ptr<const ReelAsset> other, EqualityOptions opt, NoteH } if (_asset_ref.resolved () && other->_asset_ref.resolved ()) { - return _asset_ref->equals (other->_asset_ref.object (), opt, note); + return _asset_ref->equals (other->_asset_ref.asset(), opt, note); } return true; |
