using std::cout;
using std::list;
-using boost::shared_ptr;
+using std::shared_ptr;
using boost::optional;
#if BOOST_VERSION >= 106100
using namespace boost::placeholders;
if (!stored) {
stored = sub;
} else {
- BOOST_FOREACH (dcp::SubtitleString i, sub.subs) {
+ for (auto i: sub.subs) {
stored->subs.push_back (i);
}
}
void
check_font_tags (list<cxml::NodePtr> nodes)
{
- BOOST_FOREACH (cxml::NodePtr i, nodes) {
+ for (auto i: nodes) {
if (i->name() == "Font") {
BOOST_CHECK (!i->optional_string_attribute("Id") || i->string_attribute("Id") != "");
}