diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-10-31 22:44:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-02 00:12:56 +0100 |
| commit | 9e613ae8a3cd7994194d2d709f6ff9b88feac70b (patch) | |
| tree | 40611aafec40f836ca23ef9b99093d526f9d43c1 /test/dcp_font_test.cc | |
| parent | da15bff6e278d351301c9c50a4c96737ae4b5545 (diff) | |
Add Data class and change API to a raw pointer.
Diffstat (limited to 'test/dcp_font_test.cc')
| -rw-r--r-- | test/dcp_font_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dcp_font_test.cc b/test/dcp_font_test.cc index ab7a707d..6a3941f9 100644 --- a/test/dcp_font_test.cc +++ b/test/dcp_font_test.cc @@ -83,7 +83,7 @@ BOOST_AUTO_TEST_CASE (interop_dcp_font_test) fread (ref.get(), 1, size, f); fclose (f); - BOOST_CHECK_EQUAL (memcmp (subs2->_fonts.front().data.data().get(), ref.get(), size), 0); + BOOST_CHECK_EQUAL (memcmp (subs2->_fonts.front().data.data(), ref.get(), size), 0); } /** Create a DCP with SMPTE subtitles and check that the font is written and read back correctly */ @@ -121,5 +121,5 @@ BOOST_AUTO_TEST_CASE (smpte_dcp_font_test) fclose (f); BOOST_REQUIRE (subs2->_fonts.front().data.data()); - BOOST_CHECK_EQUAL (memcmp (subs2->_fonts.front().data.data().get(), ref.get(), size), 0); + BOOST_CHECK_EQUAL (memcmp (subs2->_fonts.front().data.data(), ref.get(), size), 0); } |
