Supporters update.
[dcpomatic.git] / src / wx / servers_list_dialog.cc
index 37a14338431f3f44dea91f44314aa2ef55d2edf6..016275c88f18e20dd18b70f2e7025bcca4b37c19 100644 (file)
 
 */
 
+
 #include "servers_list_dialog.h"
 #include "wx_util.h"
 #include "lib/encode_server_finder.h"
 #include "lib/encode_server_description.h"
 #include <boost/lexical_cast.hpp>
-#include <boost/foreach.hpp>
+
 
 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);