From: Carl Hetherington Date: Sat, 9 Jul 2022 17:09:32 +0000 (+0200) Subject: Small cleanup. X-Git-Tag: v2.16.17~7 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=5a5f6d3ac42668017141469fd0e5cd14e3bebe88 Small cleanup. --- diff --git a/src/lib/string_text_file_content.cc b/src/lib/string_text_file_content.cc index 7ee870e18..dae6811b5 100644 --- a/src/lib/string_text_file_content.cc +++ b/src/lib/string_text_file_content.cc @@ -89,9 +89,7 @@ StringTextFileContent::examine (shared_ptr film, shared_ptr job /* Default to turning these subtitles on */ only_text()->set_use (true); - std::set names = font_names(file); - - for (auto name: names) { + for (auto name: font_names(file)) { optional path; if (!name.empty()) { path = FontConfig::instance()->system_font_with_name(name);