C++11 and general tidying.
[dcpomatic.git] / src / wx / christie_certificate_panel.cc
index ab131e015cf0ba95135cef0693e38e2b2b743634..4d9b1fcb71ab81961832a312519f13a5258f2576 100644 (file)
@@ -68,7 +68,7 @@ ChristieCertificatePanel::do_download ()
        if (error) {
                all_errors = *error;
 
-               string const url = String::compose ("%1IMB-S2/IMB-S2_%2_sha256.pem", prefix, serial);
+               auto const url = String::compose ("%1IMB-S2/IMB-S2_%2_sha256.pem", prefix, serial);
 
                error = get_from_url (url, true, false, boost::bind(&DownloadCertificatePanel::load_certificate_from_chain, this, _1));
                if (error) {