summaryrefslogtreecommitdiff
path: root/src/asset_reader.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/asset_reader.h
parent75faebaf1d74e2b52360905e94e9f5bf31c34124 (diff)
std::shared_ptr
Diffstat (limited to 'src/asset_reader.h')
-rw-r--r--src/asset_reader.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/asset_reader.h b/src/asset_reader.h
index 714d960c..d1e0f10e 100644
--- a/src/asset_reader.h
+++ b/src/asset_reader.h
@@ -39,7 +39,7 @@
#include "crypto_context.h"
#include <asdcp/AS_DCP.h>
#include <boost/noncopyable.hpp>
-#include <boost/shared_ptr.hpp>
+#include <memory>
namespace dcp {
@@ -64,9 +64,9 @@ public:
delete _reader;
}
- boost::shared_ptr<const F> get_frame (int n) const
+ std::shared_ptr<const F> get_frame (int n) const
{
- return boost::shared_ptr<const F> (new F (_reader, n, _crypto_context));
+ return std::shared_ptr<const F> (new F (_reader, n, _crypto_context));
}
R* reader () const {
@@ -75,7 +75,7 @@ public:
protected:
R* _reader;
- boost::shared_ptr<DecryptionContext> _crypto_context;
+ std::shared_ptr<DecryptionContext> _crypto_context;
};
}