BOOST_FOREACH.
[dcpomatic.git] / src / wx / wx_util.cc
index 5d02d27bf80ffd6a9e64e1ffcfd0cae82de44b0e..3386b2700c522c7047c4bb0e0c738473cf1b6303 100644 (file)
@@ -522,7 +522,7 @@ display_progress (wxString title, wxString task)
                dcpomatic_sleep_seconds (1);
                if (!progress.Pulse()) {
                        /* user pressed cancel */
-                       BOOST_FOREACH (shared_ptr<Job> i, jm->get()) {
+                       for (auto i: jm->get()) {
                                i->cancel();
                        }
                        ok = false;