summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon/AutoUpdate.cpp
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2022-01-13 23:34:55 -0500
committerGitHub <noreply@github.com>2022-01-13 23:34:55 -0500
commite8bbfc26fe27c4a5c9e6b44afc4918067a70fb58 (patch)
treec154122215e7dd3917ff4d57ed4d35eeb1b46ee1 /Source/Core/UICommon/AutoUpdate.cpp
parent07fd17445c6ca4e89b0cef023ba711bb27c920aa (diff)
parent83c5446d852178794450f7c5833f7a047490ff31 (diff)
Merge pull request #10370 from leoetlino/siof
Fix static initialisation order fiasco issue for Version variables
Diffstat (limited to 'Source/Core/UICommon/AutoUpdate.cpp')
-rw-r--r--Source/Core/UICommon/AutoUpdate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/UICommon/AutoUpdate.cpp b/Source/Core/UICommon/AutoUpdate.cpp
index ce316758b0..e423b9ec86 100644
--- a/Source/Core/UICommon/AutoUpdate.cpp
+++ b/Source/Core/UICommon/AutoUpdate.cpp
@@ -161,7 +161,7 @@ void AutoUpdateChecker::CheckForUpdate(std::string_view update_track,
CleanupFromPreviousUpdate();
#endif
- std::string_view version_hash = hash_override.empty() ? Common::scm_rev_git_str : hash_override;
+ std::string_view version_hash = hash_override.empty() ? Common::GetScmRevGitStr() : hash_override;
std::string url = fmt::format("https://dolphin-emu.org/update/check/v1/{}/{}/{}", update_track,
version_hash, GetPlatformID());