diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-29 01:47:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-12-29 01:47:32 +0100 |
| commit | ce73eaf7875a9a3326afcd839ad85eb95879c160 (patch) | |
| tree | c4cff45a7bada9aebf48b6e51c5dffe086045e20 /test/dcp_subtitle_test.cc | |
| parent | 0f772d68ef7fb32002538ce9ca7c9764d0d7135b (diff) | |
Cleanup: test tidying.
Diffstat (limited to 'test/dcp_subtitle_test.cc')
| -rw-r--r-- | test/dcp_subtitle_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dcp_subtitle_test.cc b/test/dcp_subtitle_test.cc index a7ec34514..6798cf678 100644 --- a/test/dcp_subtitle_test.cc +++ b/test/dcp_subtitle_test.cc @@ -111,7 +111,7 @@ BOOST_AUTO_TEST_CASE (dcp_subtitle_within_dcp_test) film->examine_and_add_content (content); BOOST_REQUIRE (!wait_for_jobs ()); - shared_ptr<DCPDecoder> decoder (new DCPDecoder (film, content, false, false, shared_ptr<DCPDecoder>())); + auto decoder = make_shared<DCPDecoder>(film, content, false, false, shared_ptr<DCPDecoder>()); decoder->only_text()->PlainStart.connect (bind (store, _1)); stored = optional<ContentStringText> (); |
