summaryrefslogtreecommitdiff
path: root/src/lib/cinema_kdms.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-05-13 21:52:27 +0100
committerCarl Hetherington <cth@carlh.net>2019-05-13 21:52:27 +0100
commit006e38346a8bcdcc889979b7c00802d9bb8fc6f8 (patch)
tree352caad1d2863ef4385b0d91fa7de07f52ff5e27 /src/lib/cinema_kdms.h
parent6cde6bcc0b604c1a157a4ccbdce29e91f4d45a91 (diff)
swaroop: allow ScreenKDM subclasses for different KDM types.
Diffstat (limited to 'src/lib/cinema_kdms.h')
-rw-r--r--src/lib/cinema_kdms.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cinema_kdms.h b/src/lib/cinema_kdms.h
index 566b947a2..2b82cdab6 100644
--- a/src/lib/cinema_kdms.h
+++ b/src/lib/cinema_kdms.h
@@ -29,7 +29,7 @@ class CinemaKDMs
public:
void make_zip_file (boost::filesystem::path zip_file, dcp::NameFormat name_format, dcp::NameFormat::Map name_values) const;
- static std::list<CinemaKDMs> collect (std::list<ScreenKDM> kdms);
+ static std::list<CinemaKDMs> collect (std::list<boost::shared_ptr<ScreenKDM> > kdms);
static int write_directories (
std::list<CinemaKDMs> cinema_kdms,
@@ -58,5 +58,5 @@ public:
);
boost::shared_ptr<Cinema> cinema;
- std::list<ScreenKDM> screen_kdms;
+ std::list<boost::shared_ptr<ScreenKDM> > screen_kdms;
};