X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Frecover_test.cc;h=84e6a74e3984e96943ef6eaca52b83c1bf1c3f2a;hb=497803ab4424ce23affd231a01d625ddf3cf3aca;hp=9c1ed7e66e0d7f1172882a26e3843f05c4ad4d78;hpb=4edc14c8b1410e24f68b510cc14409b96c0338a3;p=dcpomatic.git diff --git a/test/recover_test.cc b/test/recover_test.cc index 9c1ed7e66..84e6a74e3 100644 --- a/test/recover_test.cc +++ b/test/recover_test.cc @@ -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 content (new FFmpegContent("test/data/count300bd24.m2ts")); film->examine_and_add_content (content);