From 9f125fddff88bf62d36381f9d3f09e5240b033d5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 18 May 2023 22:21:33 +0200 Subject: Cleanup: replace some list with vector. --- src/lib/kdm_cli.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lib/kdm_cli.cc') diff --git a/src/lib/kdm_cli.cc b/src/lib/kdm_cli.cc index 925626119..05a59142f 100644 --- a/src/lib/kdm_cli.cc +++ b/src/lib/kdm_cli.cc @@ -203,7 +203,7 @@ find_cinema (string cinema_name) static void from_film ( - list> screens, + vector> screens, boost::filesystem::path film_dir, bool verbose, boost::filesystem::path output, @@ -346,7 +346,7 @@ kdm_from_dkdm ( static void from_dkdm ( - list> screens, + vector> screens, dcp::DecryptedKDM dkdm, bool verbose, boost::filesystem::path output, @@ -396,7 +396,7 @@ from_dkdm ( name_values['e'] = end.date() + " " + end.time_of_day(true, false); name_values['i'] = kdm.cpl_id(); - kdms.push_back (make_shared(name_values, i->cinema.get(), i->cinema ? i->cinema->emails : list(), kdm)); + kdms.push_back(make_shared(name_values, i->cinema.get(), i->cinema ? i->cinema->emails : vector(), kdm)); } write_files (kdms, zip, output, container_name_format, filename_format, verbose, out); if (email) { @@ -441,7 +441,7 @@ try shared_ptr cinema; optional certificate; optional screen; - list> screens; + vector> screens; optional dkdm; optional valid_from; optional valid_to; @@ -552,7 +552,7 @@ try (for lookup) and by creating a Cinema which the next Screen will be added to. */ cinema_name = optarg; - cinema = make_shared(optarg, list(), "", 0, 0); + cinema = make_shared(optarg, vector(), "", 0, 0); break; case 'S': /* Similarly, this could be the name of a new (temporary) screen or the name of a screen -- cgit v1.2.3