diff options
| author | Mai M <mathew1800@gmail.com> | 2021-05-21 11:25:38 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-21 11:25:38 -0400 |
| commit | 7d8c3ff7d20f6d02e57464ea44594951c147b0a0 (patch) | |
| tree | c285be1301bf3729268d9dc870f2da958644d3e6 /Source/Core/UICommon/AutoUpdate.cpp | |
| parent | bc89df897e9f33afb0f2360b0236cf9eb2a698f3 (diff) | |
| parent | 27cc0b539a5fb4c7ac09342a0d265133afe9a0f4 (diff) | |
Merge pull request #9732 from JosJuice/avoid-including-scmrev
Avoid including scmrev.h except in Version.cpp
Diffstat (limited to 'Source/Core/UICommon/AutoUpdate.cpp')
| -rw-r--r-- | Source/Core/UICommon/AutoUpdate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/UICommon/AutoUpdate.cpp b/Source/Core/UICommon/AutoUpdate.cpp index 846c9deb0f..5ceb8e5cb4 100644 --- a/Source/Core/UICommon/AutoUpdate.cpp +++ b/Source/Core/UICommon/AutoUpdate.cpp @@ -12,7 +12,7 @@ #include "Common/HttpRequest.h" #include "Common/Logging/Log.h" #include "Common/StringUtil.h" -#include "Common/scmrev.h" +#include "Common/Version.h" #include "Core/ConfigManager.h" #ifdef _WIN32 @@ -157,7 +157,7 @@ void AutoUpdateChecker::CheckForUpdate() #endif std::string version_hash = SConfig::GetInstance().m_auto_update_hash_override.empty() ? - SCM_REV_STR : + Common::scm_rev_str : SConfig::GetInstance().m_auto_update_hash_override; std::string url = "https://dolphin-emu.org/update/check/v1/" + SConfig::GetInstance().m_auto_update_track + "/" + version_hash + "/" + |
