From 1277e84794ddf669ef98fa202c4b11392af7a811 Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Tue, 27 May 2025 13:50:23 +0100 Subject: [PATCH] update_checker.cpp: Use `fmt::format` instead of `std::format` It seems that certain environments still don't have access to `std::format` yet, and I missed this because it built fine on my machine and CI passed because the code using `std::format` wasn't included in non-tagged builds. --- src/citra_qt/update_checker.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/citra_qt/update_checker.cpp b/src/citra_qt/update_checker.cpp index 2cb732353..3686775e4 100644 --- a/src/citra_qt/update_checker.cpp +++ b/src/citra_qt/update_checker.cpp @@ -4,6 +4,7 @@ #include #include +#include #include #include #include "common/logging/log.h" @@ -67,7 +68,7 @@ std::optional UpdateChecker::GetLatestRelease(bool include_prerelea const std::string latest_tag = nlohmann::json::parse(tags_response.value()).at(0).at("name"); const bool latest_tag_has_release = - releases_response.value().find(std::format("\"{}\"", latest_tag)) != + releases_response.value().find(fmt::format("\"{}\"", latest_tag)) != std::string::npos; // If there is a newer tag, but that tag has no associated release, don't prompt the