Merge pull request #11770 from lioncash/err

Common/CommonFuncs: Move interface into Common namespace
This commit is contained in:
Admiral H. Curtiss
2023-04-19 10:38:22 +02:00
committed by GitHub
8 changed files with 19 additions and 12 deletions

View File

@ -299,13 +299,13 @@ void AutoUpdateChecker::TriggerUpdate(const AutoUpdateChecker::NewVersionInforma
}
else
{
const std::string error = GetLastErrorString();
const std::string error = Common::GetLastErrorString();
CriticalAlertFmtT("Could not start updater process: {0}", error);
}
#else
if (popen(command_line.c_str(), "r") == nullptr)
{
const std::string error = LastStrerrorString();
const std::string error = Common::LastStrerrorString();
CriticalAlertFmtT("Could not start updater process: {0}", error);
}
#endif