BOOST_FOREACH.
[dcpomatic.git] / src / wx / system_font_dialog.cc
index 167f7f75d58729e91fb48e3e19b03572313c6941..6a98ecec63f12b1d3c627f8e31dcf3582c84d1d7 100644 (file)
@@ -22,7 +22,6 @@
 #include "wx_util.h"
 #include <wx/listctrl.h>
 #include <boost/filesystem.hpp>
-#include <boost/foreach.hpp>
 #include <iostream>
 
 using std::cout;
@@ -62,7 +61,7 @@ SystemFontDialog::SystemFontDialog (wxWindow* parent)
        sizer->Add (_list, 0, wxALL, DCPOMATIC_SIZER_X_GAP);
 
        int n = 0;
-       BOOST_FOREACH (boost::filesystem::path i, _fonts) {
+       for (auto i: _fonts) {
                _list->InsertItem (n++, std_to_wx (i.leaf().stem().string ()));
        }