summaryrefslogtreecommitdiff
path: root/Source/Core/UpdaterCommon/UpdaterCommon.cpp
diff options
context:
space:
mode:
authorDr. Dystopia <jonis9898@hotmail.com>2026-07-19 20:30:21 +0200
committerDr. Dystopia <jonis9898@hotmail.com>2026-07-28 12:39:54 +0200
commit08e183d322981c705ba9fc7f4f1476cc7e7e5f23 (patch)
tree1f64ee7d6bfb5038e37fc2256f0a067f3a648700 /Source/Core/UpdaterCommon/UpdaterCommon.cpp
parentd742aa8b4c4d052f7dceaa39022b1fe3996f1781 (diff)
Replace string concatination with `fmt::format`
Diffstat (limited to 'Source/Core/UpdaterCommon/UpdaterCommon.cpp')
-rw-r--r--Source/Core/UpdaterCommon/UpdaterCommon.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/UpdaterCommon/UpdaterCommon.cpp b/Source/Core/UpdaterCommon/UpdaterCommon.cpp
index 8a400b21d0..f40fb880ca 100644
--- a/Source/Core/UpdaterCommon/UpdaterCommon.cpp
+++ b/Source/Core/UpdaterCommon/UpdaterCommon.cpp
@@ -10,6 +10,7 @@
#include <OptionParser.h>
#include <ed25519.h>
+#include <fmt/format.h>
#include <mbedtls/base64.h>
#include <mbedtls/sha256.h>
#include <zlib.h>
@@ -225,8 +226,8 @@ static bool DownloadContent(std::span<const TodoList::DownloadOp> to_download,
if (File::Exists(temp_path + DIR_SEP + hash_filename))
continue;
- UI::SetDescription("Downloading " + download.filename + "... (File " + std::to_string(i + 1) +
- " of " + std::to_string(to_download.size()) + ")");
+ UI::SetDescription(fmt::format("Downloading {}... (File {} of {})", download.filename, i + 1,
+ to_download.size()));
UI::SetCurrentMarquee(false);
// Add slashes where needed.