BOOST_FOREACH.
[dcpomatic.git] / src / wx / suspender.cc
index 9b1b64c8504e260ff84dd5b718a3f4c5da8aa283..6cd78326a3f8ed5c3ab9cf4d38764276262b2b2b 100644 (file)
@@ -19,7 +19,6 @@
 */
 
 #include "suspender.h"
-#include <boost/foreach.hpp>
 
 Suspender::Suspender(boost::function<void (int)> handler)
        : _handler (handler)
@@ -56,7 +55,7 @@ Suspender::decrement ()
 {
        --_count;
        if (_count == 0) {
-               BOOST_FOREACH (int i, _pending) {
+               for (auto i: _pending) {
                        _handler (i);
                }
                _pending.clear ();