aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/update_checker.cpp
diff options
context:
space:
mode:
authorShinmegumi <shinmegumi@eden-emu.dev>2025-10-01 21:09:27 +0200
committercrueter <crueter@eden-emu.dev>2025-10-01 21:09:27 +0200
commit61adc85c4ba4d87c5dcf99212a94b9d9d4a6fe14 (patch)
treea819000328db9f4c1848a7ed79574f080af79bf6 /src/yuzu/update_checker.cpp
parent4be6d30cd95634777e0ea0790d7c51a3d09bb773 (diff)
[ci] Minor change to fix building (#2644)
MSVC did not like that one of our variables was a constexpr since it was defined in the externals as a constexpr. Changed to const auto like the rest to ensure it built properly. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2644 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: Maufeat <sahyno1996@gmail.com> Co-authored-by: Shinmegumi <shinmegumi@eden-emu.dev> Co-committed-by: Shinmegumi <shinmegumi@eden-emu.dev>
Diffstat (limited to 'src/yuzu/update_checker.cpp')
-rw-r--r--src/yuzu/update_checker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/update_checker.cpp b/src/yuzu/update_checker.cpp
index 76b436d1d1..e54eb8d7f8 100644
--- a/src/yuzu/update_checker.cpp
+++ b/src/yuzu/update_checker.cpp
@@ -58,7 +58,7 @@ std::optional<std::string> UpdateChecker::GetResponse(std::string url, std::stri
std::optional<std::string> UpdateChecker::GetLatestRelease(bool include_prereleases)
{
- constexpr auto update_check_url = std::string{Common::g_build_auto_update_api};
+ const auto update_check_url = std::string{Common::g_build_auto_update_api};
std::string update_check_path = fmt::format("/repos/{}", std::string{Common::g_build_auto_update_repo});
try {
if (include_prereleases) { // This can return either a prerelease or a stable release,