diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-04-15 23:08:01 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-04-15 23:08:03 +0200 |
| commit | f0a68ff44de4ccf060bcce9e23cba61a35dca017 (patch) | |
| tree | 7016b62fca912e8b5d8a66b23a0639d0e05a08a6 /src/lib | |
| parent | a6bd45aee85ab014f0a4bb0fcdd690a995d04f5b (diff) | |
Tidy up: use same initialisation for text as in ::examine().
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/dcp_subtitle_content.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_subtitle_content.cc b/src/lib/dcp_subtitle_content.cc index 86b811445..5988761f6 100644 --- a/src/lib/dcp_subtitle_content.cc +++ b/src/lib/dcp_subtitle_content.cc @@ -46,7 +46,7 @@ using namespace dcpomatic; DCPSubtitleContent::DCPSubtitleContent(boost::filesystem::path path) : Content(path) { - text.push_back(make_shared<TextContent>(this, TextType::OPEN_SUBTITLE, TextType::OPEN_SUBTITLE)); + text = vector<shared_ptr<TextContent>>{make_shared<TextContent>(this, TextType::OPEN_SUBTITLE, TextType::OPEN_SUBTITLE)}; } DCPSubtitleContent::DCPSubtitleContent(cxml::ConstNodePtr node, boost::optional<boost::filesystem::path> film_directory, int version) |
