Auto keyword

This commit is contained in:
FutureRave 2022-02-26 23:02:04 +00:00
parent a5cc395b65
commit 624eba7114
No known key found for this signature in database
GPG Key ID: E883E2BC9657D955
2 changed files with 3 additions and 3 deletions

View File

@ -190,7 +190,7 @@ namespace Components
}
// Parse the id
const auto xuid = strtoull(steamId.data(), nullptr, 16);
const auto xuid = std::strtoull(steamId.data(), nullptr, 16);
SteamID guid;
guid.bits = xuid;

View File

@ -539,8 +539,8 @@ namespace Components
bool ServerList::CompareVersion(const std::string& version1, const std::string& version2)
{
std::vector<std::string> subVersions1 = Utils::String::Split(version1, '.');
std::vector<std::string> subVersions2 = Utils::String::Split(version2, '.');
auto subVersions1 = Utils::String::Split(version1, '.');
auto subVersions2 = Utils::String::Split(version2, '.');
while (subVersions1.size() >= 3) subVersions1.pop_back();
while (subVersions2.size() >= 3) subVersions2.pop_back();