diff options
| author | oltolm <oleg.tolmatcev@gmail.com> | 2026-02-04 22:22:16 +0100 |
|---|---|---|
| committer | oltolm <oleg.tolmatcev@gmail.com> | 2026-02-08 00:37:29 +0100 |
| commit | 60351c19ccb5fb48cc82e7b6b59ae291577b5560 (patch) | |
| tree | 66b67ab028f56ee99790211cec39b36bbc78ce10 /Source/Core/WinUpdater/Platform.cpp | |
| parent | a8fbe8f28f622851333538ee0a2899bc159161ba (diff) | |
Misc: fix compiler warning: implicit declaration of function
Diffstat (limited to 'Source/Core/WinUpdater/Platform.cpp')
| -rw-r--r-- | Source/Core/WinUpdater/Platform.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/WinUpdater/Platform.cpp b/Source/Core/WinUpdater/Platform.cpp index bca74cddb5..c48271be55 100644 --- a/Source/Core/WinUpdater/Platform.cpp +++ b/Source/Core/WinUpdater/Platform.cpp @@ -246,9 +246,9 @@ static VersionCheckResult OSVersionCheck(const BuildInfo& build_info) return result; } -std::optional<BuildInfos> InitBuildInfos(const std::vector<TodoList::UpdateOp>& to_update, - const std::string& install_base_path, - const std::string& temp_dir) +static std::optional<BuildInfos> InitBuildInfos(const std::vector<TodoList::UpdateOp>& to_update, + const std::string& install_base_path, + const std::string& temp_dir) { const auto op_it = std::ranges::find(to_update, "build_info.txt", &TodoList::UpdateOp::filename); if (op_it == to_update.cend()) @@ -278,7 +278,7 @@ std::optional<BuildInfos> InitBuildInfos(const std::vector<TodoList::UpdateOp>& return build_infos; } -bool CheckBuildInfo(const BuildInfos& build_infos) +static bool CheckBuildInfo(const BuildInfos& build_infos) { // The existing BuildInfo may have been modified. Be careful not to overly trust its contents! |
