fix(Core/World): -Wrange-loop-analysis warning (#6853)

This commit is contained in:
Francesco Borzì 2021-07-10 15:54:35 +02:00 committed by GitHub
parent 4103fca5a4
commit f6c0b0b6c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1490,8 +1490,10 @@ void World::SetInitialWorldSettings()
sIPLocation->Load();
std::vector<uint32> mapIds;
for (auto const& map : sMapStore)
for (auto const map : sMapStore)
{
mapIds.emplace_back(map->MapID);
}
vmmgr2->InitializeThreadUnsafe(mapIds);