diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-06-03 01:31:27 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-06-07 17:01:06 +0200 |
| commit | cb5f295b5dc8f4bade8fb9e27587bf94afa1ac69 (patch) | |
| tree | 0a32cbf7e4c9d7660737f97ae9da8d37f5306d43 /test/dcp_subtitle_test.cc | |
| parent | 280a456ae1da8fa648be1e9f68140f045b306e32 (diff) | |
Tidying.
Diffstat (limited to 'test/dcp_subtitle_test.cc')
| -rw-r--r-- | test/dcp_subtitle_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dcp_subtitle_test.cc b/test/dcp_subtitle_test.cc index 640f6510e..679325a91 100644 --- a/test/dcp_subtitle_test.cc +++ b/test/dcp_subtitle_test.cc @@ -186,8 +186,8 @@ BOOST_AUTO_TEST_CASE (dcp_subtitle_test4) auto film = new_test_film2 ("dcp_subtitle_test4", {content, content2}); film->set_interop (true); - content->only_text()->add_font (shared_ptr<Font> (new Font ("font1"))); - content2->only_text()->add_font (shared_ptr<Font> (new Font ("font2"))); + content->only_text()->add_font(make_shared<Font>("font1")); + content2->only_text()->add_font(make_shared<Font>("font2")); make_and_verify_dcp (film, { dcp::VerificationNote::Code::INVALID_STANDARD }); |
