X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fstring_text_file_decoder.cc;h=f24147851847e1ee120354984f2dbd40f20630a7;hp=415851aef4737366127a26ba2ee7e09af75a6069;hb=a5d004b0773f633401528392fc28e66d70e13ac8;hpb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 diff --git a/src/lib/string_text_file_decoder.cc b/src/lib/string_text_file_decoder.cc index 415851aef..f24147851 100644 --- a/src/lib/string_text_file_decoder.cc +++ b/src/lib/string_text_file_decoder.cc @@ -23,7 +23,6 @@ #include "text_content.h" #include "text_decoder.h" #include -#include #include using std::list; @@ -95,8 +94,8 @@ vector StringTextFileDecoder::fonts () const { vector data; - BOOST_FOREACH (shared_ptr i, text) { - BOOST_FOREACH (shared_ptr j, i->content()->fonts()) { + for (auto i: text) { + for (auto j: i->content()->fonts()) { data.push_back (FontData(j)); } }