Merge pull request #817 from diamante0018/develop
[ScriptError]: Use reserve
This commit is contained in:
commit
a663d98685
@ -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