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_sound_asset.h | |
| parent | 75faebaf1d74e2b52360905e94e9f5bf31c34124 (diff) | |
std::shared_ptr
Diffstat (limited to 'src/reel_sound_asset.h')
| -rw-r--r-- | src/reel_sound_asset.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/reel_sound_asset.h b/src/reel_sound_asset.h index 57d14bc6..cbc667e5 100644 --- a/src/reel_sound_asset.h +++ b/src/reel_sound_asset.h @@ -38,7 +38,7 @@ #include "reel_mxf.h" #include "reel_asset.h" #include "sound_asset.h" -#include <boost/shared_ptr.hpp> +#include <memory> #include <string> namespace dcp { @@ -49,19 +49,19 @@ namespace dcp { class ReelSoundAsset : public ReelAsset, public ReelMXF { public: - ReelSoundAsset (boost::shared_ptr<dcp::SoundAsset> content, int64_t entry_point); - explicit ReelSoundAsset (boost::shared_ptr<const cxml::Node>); + ReelSoundAsset (std::shared_ptr<dcp::SoundAsset> content, int64_t entry_point); + explicit ReelSoundAsset (std::shared_ptr<const cxml::Node>); xmlpp::Node* write_to_cpl (xmlpp::Node* node, Standard standard) const; - bool equals (boost::shared_ptr<const ReelSoundAsset>, EqualityOptions, NoteHandler) const; + bool equals (std::shared_ptr<const ReelSoundAsset>, EqualityOptions, NoteHandler) const; /** @return the SoundAsset that this object refers to */ - boost::shared_ptr<SoundAsset> asset () { + std::shared_ptr<SoundAsset> asset () { return asset_of_type<SoundAsset> (); } /** @return the SoundAsset that this object refers to */ - boost::shared_ptr<const SoundAsset> asset () const { + std::shared_ptr<const SoundAsset> asset () const { return asset_of_type<const SoundAsset> (); } |
