BOOST_FOREACH.
[dcpomatic.git] / src / lib / verify_dcp_job.cc
index f6dc1006397fc0242e794d22cf0aa276423a6df8..bbcce720893ccd794909e72f9249819fb9e4e234 100644 (file)
@@ -26,7 +26,7 @@
 
 using std::string;
 using std::vector;
-using boost::shared_ptr;
+using std::shared_ptr;
 using boost::optional;
 #if BOOST_VERSION >= 106100
 using namespace boost::placeholders;
@@ -71,7 +71,7 @@ VerifyDCPJob::run ()
        _notes = dcp::verify (_directories, bind (&VerifyDCPJob::update_stage, this, _1, _2), bind (&VerifyDCPJob::set_progress, this, _1, false), xsd_path());
 
        bool failed = false;
-       BOOST_FOREACH (dcp::VerificationNote i, _notes) {
+       for (auto i: _notes) {
                if (i.type() == dcp::VerificationNote::VERIFY_ERROR) {
                        failed = true;
                }