summaryrefslogtreecommitdiff
path: root/src/lib/cinema.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-21 16:53:58 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-21 16:53:58 +0100
commitac35bf2a80c9afae9dc5fcb0261929053162f44d (patch)
tree278ecb512c1dcc090b6e3fb38acf198afdb2b579 /src/lib/cinema.h
parent504d613d3d7e8fbd3135e4e479ced1f51f520a04 (diff)
Adapt to changes in libdcp1 wrt shared_ptr and Certificate.
Diffstat (limited to 'src/lib/cinema.h')
-rw-r--r--src/lib/cinema.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cinema.h b/src/lib/cinema.h
index 74357f65d..8421f4687 100644
--- a/src/lib/cinema.h
+++ b/src/lib/cinema.h
@@ -36,7 +36,7 @@ class Cinema;
class Screen
{
public:
- Screen (std::string const & n, boost::shared_ptr<dcp::Certificate> cert)
+ Screen (std::string const & n, boost::optional<dcp::Certificate> cert)
: name (n)
, certificate (cert)
{}
@@ -47,7 +47,7 @@ public:
boost::shared_ptr<Cinema> cinema;
std::string name;
- boost::shared_ptr<dcp::Certificate> certificate;
+ boost::optional<dcp::Certificate> certificate;
};
/** @class Cinema