X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fservers_list_dialog.cc;h=016275c88f18e20dd18b70f2e7025bcca4b37c19;hb=b3a11879c49c8c0f79e7643827125ae8a7c82a01;hp=37a14338431f3f44dea91f44314aa2ef55d2edf6;hpb=9106e6ed551b13e1b7c7ee2088d54ce0ae430bcf;p=dcpomatic.git diff --git a/src/wx/servers_list_dialog.cc b/src/wx/servers_list_dialog.cc index 37a143384..016275c88 100644 --- a/src/wx/servers_list_dialog.cc +++ b/src/wx/servers_list_dialog.cc @@ -18,17 +18,19 @@ */ + #include "servers_list_dialog.h" #include "wx_util.h" #include "lib/encode_server_finder.h" #include "lib/encode_server_description.h" #include -#include + using std::list; using std::string; using boost::lexical_cast; + ServersListDialog::ServersListDialog (wxWindow* parent) : wxDialog (parent, wxID_ANY, _("Encoding Servers")) { @@ -77,7 +79,7 @@ ServersListDialog::servers_list_changed () int n = 0; - BOOST_FOREACH (EncodeServerDescription i, EncodeServerFinder::instance()->servers()) { + for (auto i: EncodeServerFinder::instance()->servers()) { wxListItem list_item; list_item.SetId (n); _list->InsertItem (list_item);