Build fixes for Boost >= 1.73
[dcpomatic.git] / src / wx / dolby_doremi_certificate_panel.cc
index c37b42e43796193d4fe1276094aca11ab77a7b70..e30ef30a4396bac5ae01b9a8f42b49588968a7ca 100644 (file)
@@ -36,6 +36,9 @@ using std::cout;
 using std::list;
 using boost::function;
 using boost::optional;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 using dcp::raw_convert;
 
 DolbyDoremiCertificatePanel::DolbyDoremiCertificatePanel (DownloadCertificateDialog* dialog)
@@ -145,7 +148,7 @@ DolbyDoremiCertificatePanel::do_download ()
 
        /* Try dcp2000, imb and ims prefixes (see mantis #375) */
 
-       string const prefix = "ftp://anonymous@ftp.cinema.dolby.com/Certificates/";
+       string const prefix = "ftp://ftp.cinema.dolby.com/Certificates/";
        list<string> urls;
        list<string> files;
 
@@ -177,7 +180,7 @@ DolbyDoremiCertificatePanel::do_download ()
        list<string>::const_iterator i = urls.begin ();
        list<string>::const_iterator j = files.begin ();
        while (!ok && i != urls.end ()) {
-               optional<string> error = get_from_zip_url (*i++, *j++, true, true, boost::bind (&DownloadCertificatePanel::load, this, _1));
+               optional<string> error = get_from_zip_url (*i++, *j++, true, true, boost::bind (&DownloadCertificatePanel::load_certificate, this, _1));
                if (error) {
                        errors.push_back (error.get ());
                } else {