summaryrefslogtreecommitdiff
path: root/src/wx/system_font_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-04 21:32:13 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-07 23:27:56 +0100
commita5d004b0773f633401528392fc28e66d70e13ac8 (patch)
tree9f83ff2ab353f5a63918210d4930d0ead228375e /src/wx/system_font_dialog.cc
parentdd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (diff)
BOOST_FOREACH.
Diffstat (limited to 'src/wx/system_font_dialog.cc')
-rw-r--r--src/wx/system_font_dialog.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wx/system_font_dialog.cc b/src/wx/system_font_dialog.cc
index 167f7f75d..6a98ecec6 100644
--- a/src/wx/system_font_dialog.cc
+++ b/src/wx/system_font_dialog.cc
@@ -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 ()));
}