summaryrefslogtreecommitdiff
path: root/src/lib/dcp.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-04 21:16:53 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-07 22:48:29 +0100
commitdd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch)
treee56a3f82fb9e1c8602f265bea0d0688d8a018644 /src/lib/dcp.h
parent0d35820cf50d2789752b8776683b26d04642518d (diff)
std::shared_ptr
Diffstat (limited to 'src/lib/dcp.h')
-rw-r--r--src/lib/dcp.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/dcp.h b/src/lib/dcp.h
index d449fdb39..d72ce6833 100644
--- a/src/lib/dcp.h
+++ b/src/lib/dcp.h
@@ -22,7 +22,6 @@
#define DCPOMATIC_DCP_H
#include <dcp/cpl.h>
-#include <boost/shared_ptr.hpp>
#include <list>
#include <iostream>
@@ -31,15 +30,15 @@ class DCPContent;
class DCP
{
public:
- std::list<boost::shared_ptr<dcp::CPL> > cpls () const;
+ std::list<std::shared_ptr<dcp::CPL> > cpls () const;
protected:
- explicit DCP (boost::shared_ptr<const DCPContent> content, bool tolerant)
+ explicit DCP (std::shared_ptr<const DCPContent> content, bool tolerant)
: _dcp_content (content)
, _tolerant (tolerant)
{}
- boost::shared_ptr<const DCPContent> _dcp_content;
+ std::shared_ptr<const DCPContent> _dcp_content;
private:
bool _tolerant;