X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fbarco_alchemy_certificate_panel.cc;h=981efee1f18990f5a6708794a99cdc3ba14b555c;hb=7861a2f4fe15952d43323a64284afd71427d09f4;hp=d105b4a9cb2a6eaaa1d77ee9d80d385dc3860853;hpb=2c844e57ed5c54e65a2b4484f02907122a03361e;p=dcpomatic.git diff --git a/src/wx/barco_alchemy_certificate_panel.cc b/src/wx/barco_alchemy_certificate_panel.cc index d105b4a9c..981efee1f 100644 --- a/src/wx/barco_alchemy_certificate_panel.cc +++ b/src/wx/barco_alchemy_certificate_panel.cc @@ -27,6 +27,9 @@ using std::string; using boost::optional; +#if BOOST_VERSION >= 106100 +using namespace boost::placeholders; +#endif BarcoAlchemyCertificatePanel::BarcoAlchemyCertificatePanel (DownloadCertificateDialog* dialog) : CredentialsDownloadCertificatePanel ( @@ -61,7 +64,7 @@ BarcoAlchemyCertificatePanel::do_download () serial ); - optional error = get_from_url (url, true, false, boost::bind (&DownloadCertificatePanel::load_certificate, this, _1)); + auto error = get_from_url (url, true, false, boost::bind (&DownloadCertificatePanel::load_certificate, this, _1, _2)); if (error) { _dialog->message()->SetLabel(wxT("")); error_dialog (this, std_to_wx(*error));