Build fixes for Boost >= 1.73
[dcpomatic.git] / src / wx / gdc_certificate_panel.cc
index a90f098f51b8e16874d9255cfd70a8763e2fbdf3..8897ec84c37a1dc54d1ef370460f6d3417067592 100644 (file)
@@ -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<string> error = get_from_url (url, true, 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(""));