[ScriptError]: Use reserve

This commit is contained in:
Edo
2023-03-07 22:09:02 +00:00
committed by GitHub
parent cf83c6d315
commit e127ec187b

View File

@ -873,7 +873,7 @@ namespace Components::GSC
{
#ifdef SCRIPT_ERROR_PATCH
std::vector<std::pair<std::size_t, void*>> patches;
patches.resize(200);
patches.reserve(200);
const auto p = [&patches](const std::size_t a, void* b)
{