From f0a68ff44de4ccf060bcce9e23cba61a35dca017 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 15 Apr 2026 23:08:01 +0200 Subject: Tidy up: use same initialisation for text as in ::examine(). --- src/lib/dcp_subtitle_content.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(this, TextType::OPEN_SUBTITLE, TextType::OPEN_SUBTITLE)); + text = vector>{make_shared(this, TextType::OPEN_SUBTITLE, TextType::OPEN_SUBTITLE)}; } DCPSubtitleContent::DCPSubtitleContent(cxml::ConstNodePtr node, boost::optional film_directory, int version) -- cgit v1.2.3