X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fplayer_text.cc;h=a3b7ec89ff84e28f46e8a667b6b75cde14a1e850;hp=d31c7d02467b0507e83fc93e1485a5abcda4fa61;hb=da44da6f31f97d39ca91c35955e573e76371f2c2;hpb=f41818f14369f170475b7f2bde1a2dd856517b14 diff --git a/src/lib/player_text.cc b/src/lib/player_text.cc index d31c7d024..a3b7ec89f 100644 --- a/src/lib/player_text.cc +++ b/src/lib/player_text.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2014-2018 Carl Hetherington + Copyright (C) 2014-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,20 +18,22 @@ */ + #include "player_text.h" #include "font.h" -#include + using std::list; -using boost::shared_ptr; +using std::shared_ptr; using namespace dcpomatic; + void -PlayerText::add_fonts (list > fonts_) +PlayerText::add_fonts (list> fonts_) { - BOOST_FOREACH (shared_ptr i, fonts_) { + for (auto i: fonts_) { bool got = false; - BOOST_FOREACH (shared_ptr j, fonts) { + for (auto j: fonts) { if (*i == *j) { got = true; }