X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ftemplates_dialog.cc;h=e8f9b8a2b22516160f3400222b762fe601f6d62f;hp=53eb2e4220ab804d4a51b0e3958d6c3af776de39;hb=a5d004b0773f633401528392fc28e66d70e13ac8;hpb=c04fec82d25127fafa73c3daff87bece9aa8c8e8 diff --git a/src/wx/templates_dialog.cc b/src/wx/templates_dialog.cc index 53eb2e422..e8f9b8a2b 100644 --- a/src/wx/templates_dialog.cc +++ b/src/wx/templates_dialog.cc @@ -24,7 +24,6 @@ #include "dcpomatic_button.h" #include "lib/config.h" #include -#include using std::string; using boost::bind; @@ -82,7 +81,7 @@ TemplatesDialog::refresh () { _list->DeleteAllItems (); - BOOST_FOREACH (string i, Config::instance()->templates()) { + for (auto i: Config::instance()->templates()) { wxListItem list_item; int const n = _list->GetItemCount (); list_item.SetId (n);