summaryrefslogtreecommitdiff
path: root/src/wx/barco_alchemy_certificate_panel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/barco_alchemy_certificate_panel.cc')
-rw-r--r--src/wx/barco_alchemy_certificate_panel.cc2
1 files changed, 1 insertions, 1 deletions
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<string> 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));