X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fbarco_alchemy_certificate_panel.cc;fp=src%2Fwx%2Fbarco_alchemy_certificate_panel.cc;h=981efee1f18990f5a6708794a99cdc3ba14b555c;hp=a1d6167aacf6ab553b85eda94c4806cc81f0b03c;hb=0ba82c1ba8d9e2e69240007a797efe24fc57fd9d;hpb=b7672a6d2d999489a188c539de7d01f5042fdee5 diff --git a/src/wx/barco_alchemy_certificate_panel.cc b/src/wx/barco_alchemy_certificate_panel.cc index a1d6167aa..981efee1f 100644 --- a/src/wx/barco_alchemy_certificate_panel.cc +++ b/src/wx/barco_alchemy_certificate_panel.cc @@ -64,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));