Some macOS test build fixes.
[dcpomatic.git] / test / recover_test.cc
index 9c1ed7e66e0d7f1172882a26e3843f05c4ad4d78..84e6a74e3984e96943ef6eaca52b83c1bf1c3f2a 100644 (file)
@@ -38,6 +38,9 @@
 using std::cout;
 using std::string;
 using boost::shared_ptr;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 
 static void
 note (dcp::NoteType t, string n)
@@ -125,7 +128,7 @@ BOOST_AUTO_TEST_CASE (recover_test_2d_encrypted, * boost::unit_test::depends_on(
        film->set_container (Ratio::from_id ("185"));
        film->set_name ("recover_test");
        film->set_encrypted (true);
-       film->set_key (dcp::Key("eafcb91c9f5472edf01f3a2404c57258"));
+       film->_key = dcp::Key("eafcb91c9f5472edf01f3a2404c57258");
 
        shared_ptr<FFmpegContent> content (new FFmpegContent("test/data/count300bd24.m2ts"));
        film->examine_and_add_content (content);