[ScriptError]: Use reserve
This commit is contained in:
parent
cf83c6d315
commit
e127ec187b
@ -873,7 +873,7 @@ namespace Components::GSC
|
|||||||
{
|
{
|
||||||
#ifdef SCRIPT_ERROR_PATCH
|
#ifdef SCRIPT_ERROR_PATCH
|
||||||
std::vector<std::pair<std::size_t, void*>> patches;
|
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)
|
const auto p = [&patches](const std::size_t a, void* b)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user