Use dcp::compose rather than our own.
[dcpomatic.git] / src / wx / barco_alchemy_certificate_panel.cc
index a1d6167aacf6ab553b85eda94c4806cc81f0b03c..25ec3511c68371748421331d317d4d27262e5154 100644 (file)
@@ -22,8 +22,8 @@
 #include "download_certificate_dialog.h"
 #include "wx_util.h"
 #include "lib/internet.h"
-#include "lib/compose.hpp"
 #include "lib/config.h"
+#include <dcp/compose.h>
 
 using std::string;
 using boost::optional;
@@ -55,7 +55,7 @@ void
 BarcoAlchemyCertificatePanel::do_download ()
 {
        string const serial = wx_to_std (_serial->GetValue());
-       string const url = String::compose (
+       string const url = dcp::compose (
                "ftp://%1:%2@certificates.barco.com/%3xxx/%4/Barco-ICMP.%5_cert.pem",
                Config::instance()->barco_username().get(),
                Config::instance()->barco_password().get(),