X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fcpl_hash_test.cc;h=3b430a6bd149e26ff794a3632ca20fe6a2bf96c4;hb=111319696c3c3384e28e31ffe08015da815c48d5;hp=56dc1974c5ba2f3f24f0e805119337118e0dcff3;hpb=8a8c977c12fc65f1f50ea05099387e0fc8840e7d;p=dcpomatic.git diff --git a/test/cpl_hash_test.cc b/test/cpl_hash_test.cc index 56dc1974c..3b430a6bd 100644 --- a/test/cpl_hash_test.cc +++ b/test/cpl_hash_test.cc @@ -35,7 +35,6 @@ using std::make_shared; -using std::shared_ptr; using std::string; @@ -44,9 +43,9 @@ BOOST_AUTO_TEST_CASE (hash_added_to_imported_dcp_test) using namespace boost::filesystem; string const ov_name = "hash_added_to_imported_dcp_test_ov"; - shared_ptr ov = new_test_film2 ( + auto ov = new_test_film2( ov_name, - { content_factory("test/data/flat_red.png").front() } + content_factory("test/data/flat_red.png") ); make_and_verify_dcp (ov); @@ -76,7 +75,7 @@ BOOST_AUTO_TEST_CASE (hash_added_to_imported_dcp_test) ); ov_content->set_reference_video (true); - make_and_verify_dcp (vf, {dcp::VerificationNote::Code::EXTERNAL_ASSET}); + make_and_verify_dcp(vf, {dcp::VerificationNote::Code::EXTERNAL_ASSET}, false); /* Check for Hash tags in the VF DCP */ int hashes = 0;