BOOST_FOREACH.
[dcpomatic.git] / src / lib / player_text.cc
index 16e89b0f10681d756724dd9e0cd49cf8f57aaff0..5456b06c4aca6890cba4beced686688811400ce3 100644 (file)
 
 #include "player_text.h"
 #include "font.h"
-#include <boost/foreach.hpp>
 
 using std::list;
-using boost::shared_ptr;
+using std::shared_ptr;
+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;
                        }