X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fcpl_ratings_test.cc;h=0135e6e08964fcdcf4215b4cfe6e2d3fe14a340f;hb=a31aee3f2909992ac717ecc72441240e7d1a56f7;hp=b5bfd389155f8b41c298f84bd4a5b232713f4c92;hpb=d95eacd3851a20e52202465ec22b4f72a4983dc8;p=libdcp.git diff --git a/test/cpl_ratings_test.cc b/test/cpl_ratings_test.cc index b5bfd389..0135e6e0 100644 --- a/test/cpl_ratings_test.cc +++ b/test/cpl_ratings_test.cc @@ -42,7 +42,7 @@ using std::shared_ptr; BOOST_AUTO_TEST_CASE (cpl_ratings) { - dcp::CPL cpl ("annotation", dcp::FEATURE); + dcp::CPL cpl ("annotation", dcp::ContentKind::FEATURE); vector ratings; ratings.push_back (dcp::Rating("http://www.mpaa.org/2003-ratings", "PG-13")); @@ -52,7 +52,7 @@ BOOST_AUTO_TEST_CASE (cpl_ratings) shared_ptr reel(new dcp::Reel()); cpl.add (reel); - cpl.write_xml ("build/test/cpl_ratings.xml", dcp::SMPTE, std::shared_ptr()); + cpl.write_xml ("build/test/cpl_ratings.xml", dcp::Standard::SMPTE, {}); vector ignore; ignore.push_back ("Id"); @@ -96,6 +96,6 @@ BOOST_AUTO_TEST_CASE (cpl_ratings) ); dcp::CPL cpl2 ("build/test/cpl_ratings.xml"); - vector ratings2 = cpl2.ratings (); + auto ratings2 = cpl2.ratings (); BOOST_TEST(ratings == ratings2); }