X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fgdc_certificate_panel.cc;h=8897ec84c37a1dc54d1ef370460f6d3417067592;hb=3e20b106388c0ba4a291cb15968a10c6fbd5b367;hp=a90f098f51b8e16874d9255cfd70a8763e2fbdf3;hpb=7d293a3268c320f474d42fef15548635c3cb40b0;p=dcpomatic.git diff --git a/src/wx/gdc_certificate_panel.cc b/src/wx/gdc_certificate_panel.cc index a90f098f5..8897ec84c 100644 --- a/src/wx/gdc_certificate_panel.cc +++ b/src/wx/gdc_certificate_panel.cc @@ -27,6 +27,9 @@ using std::string; using boost::optional; +#if BOOST_VERSION >= 106100 +using namespace boost::placeholders; +#endif GDCCertificatePanel::GDCCertificatePanel (DownloadCertificateDialog* dialog) : DownloadCertificatePanel (dialog) @@ -51,7 +54,7 @@ GDCCertificatePanel::do_download () wx_to_std(_serial->GetValue()) ); - optional error = get_from_url (url, true, boost::bind (&DownloadCertificatePanel::load, this, _1)); + optional error = get_from_url (url, true, false, boost::bind(&DownloadCertificatePanel::load_certificate, this, _1)); if (error) { _dialog->message()->SetLabel(wxT(""));