diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:32:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 23:27:56 +0100 |
| commit | a5d004b0773f633401528392fc28e66d70e13ac8 (patch) | |
| tree | 9f83ff2ab353f5a63918210d4930d0ead228375e /src/lib/string_text_file_decoder.cc | |
| parent | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (diff) | |
BOOST_FOREACH.
Diffstat (limited to 'src/lib/string_text_file_decoder.cc')
| -rw-r--r-- | src/lib/string_text_file_decoder.cc | 5 |
1 files changed, 2 insertions, 3 deletions
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 <dcp/subtitle_string.h> -#include <boost/foreach.hpp> #include <iostream> using std::list; @@ -95,8 +94,8 @@ vector<FontData> StringTextFileDecoder::fonts () const { vector<FontData> data; - BOOST_FOREACH (shared_ptr<TextDecoder> i, text) { - BOOST_FOREACH (shared_ptr<Font> j, i->content()->fonts()) { + for (auto i: text) { + for (auto j: i->content()->fonts()) { data.push_back (FontData(j)); } } |
