diff options
| author | JosJuice <josjuice@gmail.com> | 2021-05-21 13:57:59 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2021-05-21 17:03:01 +0200 |
| commit | 27cc0b539a5fb4c7ac09342a0d265133afe9a0f4 (patch) | |
| tree | c8299a0caf8ac7a46a117548813b0b4484468cef /Source/Core/UICommon/AutoUpdate.cpp | |
| parent | 0a2fde73a274fda20fa81b046291da35c9a93726 (diff) | |
Avoid including scmrev.h except in Version.cpp
Any file which includes scmrev.h must be rebuilt when scmrev.h
is regenerated. By not including scmrev.h from any file other
than Version.cpp, incremental builds become a little faster.
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 + "/" + |
