summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-07-09 19:09:32 +0200
committerCarl Hetherington <cth@carlh.net>2022-07-11 02:11:37 +0200
commit5a5f6d3ac42668017141469fd0e5cd14e3bebe88 (patch)
treee1940dadce195dec919bc3171a344a8b20753521 /src/lib
parent2f4fa5350bf59a08fa27dc4ea0c77e4bdad7dbd3 (diff)
Small cleanup.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/string_text_file_content.cc4
1 files changed, 1 insertions, 3 deletions
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<const Film> film, shared_ptr<Job> job
/* Default to turning these subtitles on */
only_text()->set_use (true);
- std::set<string> names = font_names(file);
-
- for (auto name: names) {
+ for (auto name: font_names(file)) {
optional<boost::filesystem::path> path;
if (!name.empty()) {
path = FontConfig::instance()->system_font_with_name(name);