diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-20 14:14:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-08 00:35:29 +0100 |
| commit | d39880eef211a296fa8ef4712cdef5945d08527c (patch) | |
| tree | 45dce8f3e1fd599ca76677e31eee2a71c9a4fbc1 /src/reel_picture_asset.h | |
| parent | 75faebaf1d74e2b52360905e94e9f5bf31c34124 (diff) | |
std::shared_ptr
Diffstat (limited to 'src/reel_picture_asset.h')
| -rw-r--r-- | src/reel_picture_asset.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/reel_picture_asset.h b/src/reel_picture_asset.h index 88729148..a1f92628 100644 --- a/src/reel_picture_asset.h +++ b/src/reel_picture_asset.h @@ -50,19 +50,19 @@ namespace dcp { class ReelPictureAsset : public ReelAsset, public ReelMXF { public: - ReelPictureAsset (boost::shared_ptr<PictureAsset> asset, int64_t entry_point); - explicit ReelPictureAsset (boost::shared_ptr<const cxml::Node>); + ReelPictureAsset (std::shared_ptr<PictureAsset> asset, int64_t entry_point); + explicit ReelPictureAsset (std::shared_ptr<const cxml::Node>); virtual xmlpp::Node* write_to_cpl (xmlpp::Node* node, Standard standard) const; - bool equals (boost::shared_ptr<const ReelPictureAsset>, EqualityOptions, NoteHandler) const; + bool equals (std::shared_ptr<const ReelPictureAsset>, EqualityOptions, NoteHandler) const; /** @return the PictureAsset that this object refers to */ - boost::shared_ptr<const PictureAsset> asset () const { + std::shared_ptr<const PictureAsset> asset () const { return asset_of_type<const PictureAsset> (); } /** @return the PictureAsset that this object refers to */ - boost::shared_ptr<PictureAsset> asset () { + std::shared_ptr<PictureAsset> asset () { return asset_of_type<PictureAsset> (); } |
