BOOST_FOREACH.
[dcpomatic.git] / src / wx / config_dialog.cc
index 2319754f04827aa51a196f8e3c76705d1d1ec5db..14abc286b115f616cbf4a786cd9770be4e012d30 100644 (file)
@@ -34,7 +34,7 @@ using std::make_pair;
 using std::map;
 using boost::bind;
 using boost::optional;
-using boost::shared_ptr;
+using std::shared_ptr;
 using boost::function;
 #if BOOST_VERSION >= 106100
 using namespace boost::placeholders;
@@ -488,7 +488,7 @@ CertificateChainEditor::update_certificate_list ()
        _certificates->DeleteAllItems ();
        size_t n = 0;
        dcp::CertificateChain::List certs = _get()->root_to_leaf ();
-       BOOST_FOREACH (dcp::Certificate const & i, certs) {
+       for (auto const& i: certs) {
                wxListItem item;
                item.SetId (n);
                _certificates->InsertItem (item);