Build fixes for Boost >= 1.73
[dcpomatic.git] / src / wx / barco_alchemy_certificate_panel.cc
index 84048c65cf98d97b767577668d14e489e9dad93c..20ff888ce1a8e25befe3f09792fd11f00a350bc2 100644 (file)
@@ -27,6 +27,9 @@
 
 using std::string;
 using boost::optional;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 
 BarcoAlchemyCertificatePanel::BarcoAlchemyCertificatePanel (DownloadCertificateDialog* dialog)
        : DownloadCertificatePanel (dialog)
@@ -60,7 +63,7 @@ BarcoAlchemyCertificatePanel::do_download ()
                serial
                );
 
-       optional<string> error = get_from_url (url, true, false, boost::bind (&DownloadCertificatePanel::load, this, _1));
+       optional<string> error = get_from_url (url, true, false, boost::bind (&DownloadCertificatePanel::load_certificate, this, _1));
        if (error) {
                _dialog->message()->SetLabel(wxT(""));
                error_dialog (this, std_to_wx(*error));