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.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wx/barco_alchemy_certificate_panel.cc b/src/wx/barco_alchemy_certificate_panel.cc
index 34b2aa82e..879097e48 100644
--- a/src/wx/barco_alchemy_certificate_panel.cc
+++ b/src/wx/barco_alchemy_certificate_panel.cc
@@ -23,7 +23,6 @@
#include "download_certificate_dialog.h"
#include "wx_util.h"
#include "lib/internet.h"
-#include "lib/compose.hpp"
#include "lib/config.h"
#include <boost/algorithm/string.hpp>
@@ -61,8 +60,8 @@ BarcoAlchemyCertificatePanel::do_download ()
{
string serial = wx_to_std (_serial->GetValue());
trim(serial);
- string url = String::compose (
- "sftp://%1:%2@certificates.barco.com/%3xxx/%4/Barco-ICMP.%5_cert.pem",
+ string url = fmt::format(
+ "sftp://{}:{}@certificates.barco.com/{}xxx/{}/Barco-ICMP.{}_cert.pem",
Config::instance()->barco_username().get(),
Config::instance()->barco_password().get(),
serial.substr(0, 7),