BRANCH
[libdcp.git] / test / read_smpte_subtitle_test.cc
index ca08e117fc13d9d5e5d0ac4e1307017847714417..7c367bd43baf6f7ec6fd5442d762320b182aa310 100644 (file)
@@ -41,8 +41,8 @@
 #include <boost/optional/optional_io.hpp>
 
 using std::list;
-using boost::shared_ptr;
-using boost::dynamic_pointer_cast;
+using std::shared_ptr;
+using std::dynamic_pointer_cast;
 
 /** Check reading of a SMPTE subtitle file */
 BOOST_AUTO_TEST_CASE (read_smpte_subtitle_test)
@@ -129,5 +129,5 @@ BOOST_AUTO_TEST_CASE (read_smpte_subtitle_test3)
        BOOST_REQUIRE_EQUAL (subs.subtitles().size(), 1);
        shared_ptr<dcp::SubtitleImage> si = dynamic_pointer_cast<dcp::SubtitleImage>(subs.subtitles().front());
        BOOST_REQUIRE (si);
-       BOOST_CHECK (si->png_image() == dcp::Data("test/data/sub.png"));
+       BOOST_CHECK (si->png_image() == dcp::ArrayData("test/data/sub.png"));
 }