[Backport release-10.x] refactor: replace std::list with std::vector (#4845)

This commit is contained in:
Alexandru Ionut Tripon 2026-02-17 21:01:12 +02:00 committed by GitHub
commit 9fc5e1c650
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 24 additions and 24 deletions

View file

@ -29,7 +29,7 @@
#include <optional>
static std::list<Version> mcVersions(BaseInstance* inst)
static std::vector<Version> mcVersions(BaseInstance* inst)
{
return { static_cast<MinecraftInstance*>(inst)->getPackProfile()->getComponent("net.minecraft")->getVersion() };
}