summaryrefslogtreecommitdiff
path: root/src/mono_picture_frame.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-20 14:14:07 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-08 00:35:29 +0100
commitd39880eef211a296fa8ef4712cdef5945d08527c (patch)
tree45dce8f3e1fd599ca76677e31eee2a71c9a4fbc1 /src/mono_picture_frame.h
parent75faebaf1d74e2b52360905e94e9f5bf31c34124 (diff)
std::shared_ptr
Diffstat (limited to 'src/mono_picture_frame.h')
-rw-r--r--src/mono_picture_frame.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mono_picture_frame.h b/src/mono_picture_frame.h
index 27d52833..67784509 100644
--- a/src/mono_picture_frame.h
+++ b/src/mono_picture_frame.h
@@ -40,7 +40,7 @@
#include "types.h"
#include "asset_reader.h"
-#include <boost/shared_ptr.hpp>
+#include <memory>
#include <boost/noncopyable.hpp>
#include <boost/filesystem.hpp>
#include <boost/optional.hpp>
@@ -68,7 +68,7 @@ public:
explicit MonoPictureFrame (boost::filesystem::path path);
MonoPictureFrame (uint8_t const * data, int size);
- boost::shared_ptr<OpenJPEGImage> xyz_image (int reduce = 0) const;
+ std::shared_ptr<OpenJPEGImage> xyz_image (int reduce = 0) const;
uint8_t const * data () const;
uint8_t* data ();
@@ -80,9 +80,9 @@ private:
*/
friend class AssetReader<ASDCP::JP2K::MXFReader, MonoPictureFrame>;
- MonoPictureFrame (ASDCP::JP2K::MXFReader* reader, int n, boost::shared_ptr<DecryptionContext>);
+ MonoPictureFrame (ASDCP::JP2K::MXFReader* reader, int n, std::shared_ptr<DecryptionContext>);
- boost::shared_ptr<ASDCP::JP2K::FrameBuffer> _buffer;
+ std::shared_ptr<ASDCP::JP2K::FrameBuffer> _buffer;
};
}