#include "lib/kdm_with_metadata.h"
#include "test.h"
#include <boost/test/unit_test.hpp>
-#include <boost/shared_ptr.hpp>
+
using std::list;
using std::string;
using std::vector;
-using boost::shared_ptr;
+using std::shared_ptr;
using boost::optional;
-using boost::dynamic_pointer_cast;
+using std::dynamic_pointer_cast;
static
bool
cinema_a_screen_1,
boost::posix_time::time_from_string(from_string),
boost::posix_time::time_from_string(until_string),
- dcp::MODIFIED_TRANSITIONAL_1,
+ dcp::Formulation::MODIFIED_TRANSITIONAL_1,
false,
optional<int>()
);
string const cpl_id = cpls.front().cpl_id;
list<KDMWithMetadataPtr> kdms;
- BOOST_FOREACH (shared_ptr<dcpomatic::Screen> i, screens) {
+ for (auto i: screens) {
KDMWithMetadataPtr kdm = kdm_for_screen (
film,
cpls.front().cpl_file,
i,
boost::posix_time::time_from_string(from_string),
boost::posix_time::time_from_string(until_string),
- dcp::MODIFIED_TRANSITIONAL_1,
+ dcp::Formulation::MODIFIED_TRANSITIONAL_1,
false,
optional<int>()
);