From 20c7c1a0bc0c9c07d70b5d3dcc536a5cd94e8a2c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 29 Jan 2023 00:45:43 +0100 Subject: Pass make_kdm as a function into kdm_for_screen(). --- src/lib/screen.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/screen.h') diff --git a/src/lib/screen.h b/src/lib/screen.h index 7cbeb1d15..7f01cdf27 100644 --- a/src/lib/screen.h +++ b/src/lib/screen.h @@ -28,6 +28,7 @@ #include "kdm_util.h" #include "trusted_device.h" #include +#include #include #include #include @@ -75,8 +76,7 @@ public: KDMWithMetadataPtr kdm_for_screen ( - std::shared_ptr film, - boost::filesystem::path cpl, + std::function make_kdm, std::shared_ptr screen, boost::posix_time::ptime valid_from, boost::posix_time::ptime valid_to, -- cgit v1.2.3