summaryrefslogtreecommitdiff
path: root/src/wx/suspender.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/suspender.cc')
-rw-r--r--src/wx/suspender.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wx/suspender.cc b/src/wx/suspender.cc
index 9b1b64c85..6cd78326a 100644
--- a/src/wx/suspender.cc
+++ b/src/wx/suspender.cc
@@ -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 ();