diff options
Diffstat (limited to 'src/lib/player_text.cc')
| -rw-r--r-- | src/lib/player_text.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/player_text.cc b/src/lib/player_text.cc index d2448efa6..5456b06c4 100644 --- a/src/lib/player_text.cc +++ b/src/lib/player_text.cc @@ -20,7 +20,6 @@ #include "player_text.h" #include "font.h" -#include <boost/foreach.hpp> using std::list; using std::shared_ptr; @@ -29,9 +28,9 @@ using namespace dcpomatic; void PlayerText::add_fonts (list<shared_ptr<Font> > fonts_) { - BOOST_FOREACH (shared_ptr<Font> i, fonts_) { + for (auto i: fonts_) { bool got = false; - BOOST_FOREACH (shared_ptr<Font> j, fonts) { + for (auto j: fonts) { if (*i == *j) { got = true; } |
