BOOST_FOREACH.
[dcpomatic.git] / src / lib / shuffler.cc
index d913f48ef5301f12fc6e3d0b0d1ca6b77dce48a7..0e478a562a658a6e6fe48493772ddb1eced6ee1f 100644 (file)
 #include "content_video.h"
 #include "dcpomatic_assert.h"
 #include "dcpomatic_log.h"
-#include <boost/foreach.hpp>
 #include <string>
 #include <iostream>
 
 using std::make_pair;
 using std::string;
-using boost::weak_ptr;
-using boost::shared_ptr;
+using std::weak_ptr;
+using std::shared_ptr;
 using boost::optional;
 
 int const Shuffler::_max_size = 64;
@@ -115,8 +114,7 @@ Shuffler::clear ()
 void
 Shuffler::flush ()
 {
-       BOOST_FOREACH (Store i, _store) {
-               LOG_DEBUG_PLAYER("Flushing %1 from shuffler", i.second.frame);
+       for (auto i: _store) {
                Video (i.first, i.second);
        }
 }