Auto keyword
This commit is contained in:
parent
a5cc395b65
commit
624eba7114
@ -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;
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user